Skip to content

Commit fbc14ce

Browse files
committed
change argument to method
1 parent 6d185d5 commit fbc14ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/form/create_custom_field_type.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ the ``genders`` parameter value as the first argument to its to-be-created
227227
Be sure that the ``alias`` attribute of the tag corresponds with the value
228228
returned by the ``getName`` method defined earlier. You'll see the importance
229229
of this in a moment when you use the custom field type. But first, add a ``__construct``
230-
argument to ``GenderType``, which receives the gender configuration::
230+
method to ``GenderType``, which receives the gender configuration::
231231

232232
// src/Acme/DemoBundle/Form/Type/GenderType.php
233233
namespace Acme\DemoBundle\Form\Type;

0 commit comments

Comments
 (0)