diff --git a/cookbook/form/data_transformers.rst b/cookbook/form/data_transformers.rst index 255e64c6e8c..680758ddd6d 100644 --- a/cookbook/form/data_transformers.rst +++ b/cookbook/form/data_transformers.rst @@ -254,7 +254,7 @@ Next, you need to instantiate the ``IssueToNumberTransformer`` class from inside of the entity manager (because ``IssueToNumberTransformer`` needs this). No problem! Just add a ``__construct()`` function to ``TaskType`` and force this -to be passed in by registering ``TaskType`` as a service.:: +to be passed in by registering ``TaskType`` as a service:: // src/AppBundle/Form/TaskType.php namespace AppBundle\Form\Type;