@@ -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'] |
@@ -175,7 +175,7 @@ |
||
175 | 175 | /*************** Methods ***************/ |
176 | 176 | /***** Constructor *****/ |
177 | 177 | /** |
178 | - * @return void |
|
178 | + * @return ProfileEntity |
|
179 | 179 | */ |
180 | 180 | public function __construct() |
181 | 181 | { |