@@ -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'] |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | } |
| 17 | 17 | |
| 18 | 18 | /** |
| 19 | - * @return array |
|
| 19 | + * @return \Twig_SimpleFunction[] |
|
| 20 | 20 | */ |
| 21 | 21 | public function getFunctions() |
| 22 | 22 | { |
@@ -48,7 +48,7 @@ |
||
| 48 | 48 | 'data_class' => 'Application\Entity\UserEntity', |
| 49 | 49 | 'csrf_protection' => true, |
| 50 | 50 | 'csrf_field_name' => 'csrf_token', |
| 51 | - 'validation_groups' => function () use ($action) { |
|
| 51 | + 'validation_groups' => function() use ($action) { |
|
| 52 | 52 | if ($action == 'reset') { |
| 53 | 53 | return array('resetPasswordReset'); |
| 54 | 54 | } else { |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | } |
| 17 | 17 | |
| 18 | 18 | /** |
| 19 | - * @return array |
|
| 19 | + * @return \Twig_SimpleFilter[] |
|
| 20 | 20 | */ |
| 21 | 21 | public function getFilters() |
| 22 | 22 | { |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | } |
| 17 | 17 | |
| 18 | 18 | /** |
| 19 | - * @return array |
|
| 19 | + * @return \Twig_SimpleFunction[] |
|
| 20 | 20 | */ |
| 21 | 21 | public function getFunctions() |
| 22 | 22 | { |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | public function getFunctions() |
| 22 | 22 | { |
| 23 | 23 | return array( |
| 24 | - new \Twig_SimpleFunction( |
|
| 24 | + new \Twig_SimpleFunction( |
|
| 25 | 25 | 'array_labels', |
| 26 | 26 | array( |
| 27 | 27 | $this, |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | } |
| 17 | 17 | |
| 18 | 18 | /** |
| 19 | - * @return array |
|
| 19 | + * @return \Twig_SimpleFunction[] |
|
| 20 | 20 | */ |
| 21 | 21 | public function getFunctions() |
| 22 | 22 | { |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | } |
| 17 | 17 | |
| 18 | 18 | /** |
| 19 | - * @return array |
|
| 19 | + * @return \Twig_SimpleFunction[] |
|
| 20 | 20 | */ |
| 21 | 21 | public function getFunctions() |
| 22 | 22 | { |