8000 Fix typo in UserType class · craue/symfony-docs@ede42da · GitHub
[go: up one dir, main page]

Skip to content

Commit ede42da

Browse files
Dorozhko-Antonwouterj
authored andcommitted
Fix typo in UserType class
delete extra ';'
1 parent a75ed1e commit ede42da

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