@@ -49,9 +49,9 @@ discard block |
||
| 49 | 49 | $paginator = $this->paginator('Auth/User', $params); |
| 50 | 50 | $form = $this->getServiceLocator()->get('forms') |
| 51 | 51 | ->get('Core/TextSearch', [ |
| 52 | - 'placeholder' => /*@translate*/ 'Type name, email address, role, or login name', |
|
| 53 | - 'button_element' => 'text' |
|
| 54 | - ]); |
|
| 52 | + 'placeholder' => /*@translate*/ 'Type name, email address, role, or login name', |
|
| 53 | + 'button_element' => 'text' |
|
| 54 | + ]); |
|
| 55 | 55 | |
| 56 | 56 | $return = array( |
| 57 | 57 | 'by' => $params['by'], |
@@ -90,9 +90,9 @@ discard block |
||
| 90 | 90 | $imageStrategy = $infoContainer->getForm('info.image') |
| 91 | 91 | ->getHydrator() |
| 92 | 92 | ->getStrategy('image'); |
| 93 | - $fileEntity = $imageStrategy->getFileEntity(); |
|
| 94 | - $fileEntity->setUser($user); |
|
| 95 | - $imageStrategy->setFileEntity($fileEntity); |
|
| 93 | + $fileEntity = $imageStrategy->getFileEntity(); |
|
| 94 | + $fileEntity->setUser($user); |
|
| 95 | + $imageStrategy->setFileEntity($fileEntity); |
|
| 96 | 96 | |
| 97 | 97 | if ($this->request->isPost()) { |
| 98 | 98 | $formName = $params->fromQuery('form'); |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | ]; |
| 34 | 34 | |
| 35 | 35 | // do nothing for allowed routes |
| 36 | - if (in_array($routeName, $allowedRoutes)) |
|
| 36 | + if (in_array($routeName, $allowedRoutes)) |
|
| 37 | 37 | { |
| 38 | 38 | return; |
| 39 | 39 | } |
@@ -62,17 +62,17 @@ |
||
| 62 | 62 | } |
| 63 | 63 | |
| 64 | 64 | /** |
| 65 | - * @param array $statusOptions |
|
| 66 | - * @return UserStatusFieldset |
|
| 67 | - */ |
|
| 68 | - public function setStatusOptions(array $statusOptions) |
|
| 69 | - { |
|
| 70 | - $this->statusOptions = $statusOptions; |
|
| 65 | + * @param array $statusOptions |
|
| 66 | + * @return UserStatusFieldset |
|
| 67 | + */ |
|
| 68 | + public function setStatusOptions(array $statusOptions) |
|
| 69 | + { |
|
| 70 | + $this->statusOptions = $statusOptions; |
|
| 71 | 71 | |
| 72 | - return $this; |
|
| 73 | - } |
|
| 72 | + return $this; |
|
| 73 | + } |
|
| 74 | 74 | |
| 75 | - public function init() |
|
| 75 | + public function init() |
|
| 76 | 76 | { |
| 77 | 77 | $this->setName('status'); |
| 78 | 78 | |