From fbc14ce946dab40638995eefa3360e98d7c23af0 Mon Sep 17 00:00:00 2001 From: Andreia Bohner Date: Sat, 16 Feb 2013 21:44:15 -0200 Subject: [PATCH] change argument to method --- cookbook/form/create_custom_field_type.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbook/form/create_custom_field_type.rst b/cookbook/form/create_custom_field_type.rst index 9d094ed72c7..521c8b845f8 100644 --- a/cookbook/form/create_custom_field_type.rst +++ b/cookbook/form/create_custom_field_type.rst @@ -227,7 +227,7 @@ the ``genders`` parameter value as the first argument to its to-be-created Be sure that the ``alias`` attribute of the tag corresponds with the value returned by the ``getName`` method defined earlier. You'll see the importance of this in a moment when you use the custom field type. But first, add a ``__construct`` -argument to ``GenderType``, which receives the gender configuration:: +method to ``GenderType``, which receives the gender configuration:: // src/Acme/DemoBundle/Form/Type/GenderType.php namespace Acme\DemoBundle\Form\Type;