@@ -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 (FormInterface $form) use ($self) { |
|
52 | + 'validation_groups' => function(FormInterface $form) use ($self) { |
|
53 | 53 | $action = $self->action; |
54 | 54 | |
55 | 55 | if ($action == 'reset') { |
@@ -70,7 +70,7 @@ |
||
70 | 70 | { |
71 | 71 | $resolver->setDefaults(array( |
72 | 72 | 'data_class' => 'Application\Entity\UserEntity', |
73 | - 'validation_groups' => function (FormInterface $form) { |
|
73 | + 'validation_groups' => function(FormInterface $form) { |
|
74 | 74 | $user = $form->getData(); |
75 | 75 | $validationGroups = array(); |
76 | 76 |