diff --git a/cookbook/doctrine/registration_form.rst b/cookbook/doctrine/registration_form.rst index ac6840d8a4c..a725288f6be 100644 --- a/cookbook/doctrine/registration_form.rst +++ b/cookbook/doctrine/registration_form.rst @@ -367,7 +367,7 @@ option to ``false``:: // src/AppBundle/Form/UserType.php // ... - use Symfony\\Component\\Validator\\Constraints\\IsTrue; + use Symfony\Component\Validator\Constraints\IsTrue; class UserType extends AbstractType {