@@ -195,9 +195,9 @@ discard block |
||
| 195 | 195 | $this->template, |
| 196 | 196 | 'user/create', |
| 197 | 197 | [ |
| 198 | - 'param' => $formParam, |
|
| 199 | - 'status' => $statusList, |
|
| 200 | - 'roles' => $roles |
|
| 198 | + 'param' => $formParam, |
|
| 199 | + 'status' => $statusList, |
|
| 200 | + 'roles' => $roles |
|
| 201 | 201 | ] |
| 202 | 202 | ); |
| 203 | 203 | } |
@@ -217,7 +217,7 @@ discard block |
||
| 217 | 217 | 'role' => $formParam->getRole(), |
| 218 | 218 | ]); |
| 219 | 219 | |
| 220 | - //Handle roles |
|
| 220 | + //Handle roles |
|
| 221 | 221 | $rolesId = $param->post('roles', []); |
| 222 | 222 | if (!empty($rolesId)) { |
| 223 | 223 | $selectedRoles = $this->roleRepository->findAll(...$rolesId); |
@@ -234,7 +234,7 @@ discard block |
||
| 234 | 234 | $this->template, |
| 235 | 235 | 'user/create', |
| 236 | 236 | [ |
| 237 | - 'param' => $formParam, |
|
| 237 | + 'param' => $formParam, |
|
| 238 | 238 | 'status' => $statusList, |
| 239 | 239 | 'roles' => $roles |
| 240 | 240 | ] |
@@ -212,10 +212,10 @@ |
||
| 212 | 212 | return $this; |
| 213 | 213 | } |
| 214 | 214 | |
| 215 | - /** |
|
| 216 | - * Return the application root path |
|
| 217 | - * @return string |
|
| 218 | - */ |
|
| 215 | + /** |
|
| 216 | + * Return the application root path |
|
| 217 | + * @return string |
|
| 218 | + */ |
|
| 219 | 219 | public function getAppPath(): string |
| 220 | 220 | { |
| 221 | 221 | return $this->appPath; |