[Form] Fix "Adding custom extensions" section #5225
Labels
actionable
Clear and specific issues ready for anyone to take them.
Form
good first issue
Ideal for your first contribution! (some Symfony experience may be required)
hasPR
A Pull Request has already been submitted for this issue.
Currently, the section "Adding custom extensions" in http://symfony.com/doc/current/cookbook/form/unit_testing.html#adding-custom-extensions is overly complicated. The same result as in the code on that page can be achieved with:
The text was updated successfully, but these errors were encountered: