From ede42dada6552b4f5ee69ebaecc477c1e73d881d Mon Sep 17 00:00:00 2001 From: Dorozhko Anton Date: Fri, 16 Oct 2015 13:06:07 +0600 Subject: [PATCH] Fix typo in UserType class delete extra ';' --- cookbook/doctrine/registration_form.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cookbook/doctrine/registration_form.rst b/cookbook/doctrine/registration_form.rst index 956026248c1..47e6873b008 100644 --- a/cookbook/doctrine/registration_form.rst +++ b/cookbook/doctrine/registration_form.rst @@ -163,8 +163,8 @@ Next, create the form for the ``User`` entity:: public function buildForm(FormBuilderInterface $builder, array $options) { $builder - ->add('email', 'email'); - ->add('username', 'text'); + ->add('email', 'email') + ->add('username', 'text') ->add('plainPassword', 'repeated', array( 'type' => 'password', 'first_options' => array('label' => 'Password'),