Skip to content

Commit b303f9d

Browse files
committed
Merge pull request #2242 from andreia/argument-method
Change argument to method
2 parents 03619f9 + fbc14ce commit b303f9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/form/create_custom_field_type.rst

+1-1
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)