Skip to content

Commit

Permalink
bug #5795 Fix typo in UserType class (Dorozhko-Anton)
Browse files Browse the repository at this point in the history
This PR was submitted for the 2.7 branch but it was merged into the 2.3 branch instead (closes #5795).

Discussion
----------

Fix typo in UserType class

delete extra ';'

Commits
-------

ede42da Fix typo in UserType class
  • Loading branch information
wouterj committed Oct 17, 2015
2 parents a75ed1e + ede42da commit 31686aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cookbook/doctrine/registration_form.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down

0 comments on commit 31686aa

Please sign in to comment.