@@ -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 |
@@ -215,7 +215,7 @@ |
||
215 | 215 | $total = $paginationData['totalCount']; |
216 | 216 | |
217 | 217 | if ($total > 0 && $currentPage <= $pageCount) { |
218 | - $from = (($currentPage -1) * $paginationData['numItemsPerPage']) + 1; |
|
218 | + $from = (($currentPage - 1) * $paginationData['numItemsPerPage']) + 1; |
|
219 | 219 | $to = $currentPage * $paginationData['numItemsPerPage'] > $total |
220 | 220 | ? $total |
221 | 221 | : $currentPage * $paginationData['numItemsPerPage'] |
@@ -178,7 +178,7 @@ discard block |
||
178 | 178 | protected $credentialsExpired = false; |
179 | 179 | |
180 | 180 | /** |
181 | - * @return void |
|
181 | + * @return ProfileEntity |
|
182 | 182 | */ |
183 | 183 | public function __construct() |
184 | 184 | { |
@@ -682,7 +682,7 @@ discard block |
||
682 | 682 | |
683 | 683 | /*** Roles ***/ |
684 | 684 | /** |
685 | - * @return array |
|
685 | + * @return string[] |
|
686 | 686 | */ |
687 | 687 | public function getRoles() |
688 | 688 | { |