@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace Application\Form\Type\User; |
| 4 | 4 | |
| 5 | 5 | use Symfony\Component\Form\AbstractType; |
| 6 | -use Symfony\Component\Form\FormInterface; |
|
| 7 | 6 | use Symfony\Component\Form\FormBuilderInterface; |
| 8 | 7 | use Symfony\Component\OptionsResolver\OptionsResolverInterface; |
| 9 | 8 | |
@@ -49,7 +49,7 @@ |
||
| 49 | 49 | 'data_class' => 'Application\Entity\UserEntity', |
| 50 | 50 | 'csrf_protection' => true, |
| 51 | 51 | 'csrf_field_name' => 'csrf_token', |
| 52 | - 'validation_groups' => function ($action) { |
|
| 52 | + 'validation_groups' => function($action) { |
|
| 53 | 53 | if ($action == 'reset') { |
| 54 | 54 | return array('resetPasswordReset'); |
| 55 | 55 | } else { |