Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d590450

Browse files
committed
Merge pull request symfony#1477 from shieldo/patch-1
[Form] fixed reference to setDefaultOptions method
2 parents 8b083ad + a69d572 commit d590450

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/forms.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ you'll need to specify which validation group(s) your form should use::
390390
;
391391

392392
If you're creating :ref:`form classes<book-form-creating-form-classes>` (a
393-
good practice), then you'll need to add the following to the ``getDefaultOptions()``
393+
good practice), then you'll need to add the following to the ``setDefaultOptions()``
394394
method::
395395

396396
use Symfony\Component\OptionsResolver\OptionsResolverInterface;

0 commit comments

Comments
 (0)