diff --git a/forms.rst b/forms.rst index 7e5a91bd4b0..550222f7099 100644 --- a/forms.rst +++ b/forms.rst @@ -639,6 +639,7 @@ the choice is ultimately up to you. good idea to explicitly specify the ``data_class`` option by adding the following to your form type class:: + // src/AppBundle/Form/TaskType.php use AppBundle\Entity\Task; use Symfony\Component\OptionsResolver\OptionsResolver;