Skip to content

Commit 14ca4fb

Browse files
authored
Using the array() language construct
Using the array() language construct
1 parent e2393a8 commit 14ca4fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Form/Type/ChangePasswordFormType.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ public function buildForm(FormBuilderInterface $builder, array $options)
5050
'label' => 'form.current_password',
5151
'translation_domain' => 'FOSUserBundle',
5252
'mapped' => false,
53-
'constraints' => [
53+
'constraints' => array(
5454
new NotNull(),
5555
new UserPassword($constraintsOptions),
56-
]
56+
),
5757
));
5858

5959
$builder->add('plainPassword', LegacyFormHelper::getType('Symfony\Component\Form\Extension\Core\Type\RepeatedType'), array(

0 commit comments

Comments
 (0)