8000 bug #5795 Fix typo in UserType class (Dorozhko-Anton) · symfony/symfony-docs@31686aa · GitHub
[go: up one dir, main page]

Skip to content

Commit 31686aa

Browse files
committed
bug #5795 Fix typo in UserType class (Dorozhko-Anton)
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
2 parents a75ed1e + ede42da commit 31686aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cookbook/doctrine/registration_form.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@ Next, create the form for the ``User`` entity::
163163
public function buildForm(FormBuilderInterface $builder, array $options)
164164
{
165165
$builder
166-
->add('email', 'email');
167-
->add('username', 'text');
166+
->add('email', 'email')
167+
->add('username', 'text')
168168
->add('plainPassword', 'repeated', array(
169169
'type' => 'password',
170170
'first_options' => array('label' => 'Password'),

0 commit comments

Comments
 (0)
0