@@ -16,7 +16,7 @@ discard block |
||
16 | 16 | */ |
17 | 17 | $router->group( |
18 | 18 | ['controllerNamespace' => 'AbterPhp\Admin\\Http\\Controllers'], |
19 | - function (Router $router) { |
|
19 | + function(Router $router) { |
|
20 | 20 | $router->group( |
21 | 21 | [ |
22 | 22 | 'path' => RoutesConfig::getApiBasePath(), |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | Api::class, |
25 | 25 | ], |
26 | 26 | ], |
27 | - function (Router $router) { |
|
27 | + function(Router $router) { |
|
28 | 28 | /** @see \AbterPhp\Admin\Http\Controllers\Api\Index::notFound() */ |
29 | 29 | $router->any( |
30 | 30 | '/:anything', |
@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | */ |
93 | 93 | protected function addJsOnly(): User |
94 | 94 | { |
95 | - $content = sprintf( |
|
95 | + $content = sprintf( |
|
96 | 96 | '<i class="material-icons">warning</i> %s', |
97 | 97 | $this->translator->translate('admin:jsOnly') |
98 | 98 | ); |
@@ -269,7 +269,7 @@ discard block |
||
269 | 269 | 'is_gravatar_allowed', |
270 | 270 | 'admin:userIsGravatarAllowed' |
271 | 271 | ); |
272 | - $help = new Help('admin:userIsGravatarAllowedHelp'); |
|
272 | + $help = new Help('admin:userIsGravatarAllowedHelp'); |
|
273 | 273 | |
274 | 274 | $this->form[] = new CheckboxGroup($input, $label, $help); |
275 | 275 | |
@@ -333,7 +333,7 @@ discard block |
||
333 | 333 | */ |
334 | 334 | protected function createUserGroupSelect(array $options): Select |
335 | 335 | { |
336 | - $size = $this->getMultiSelectSize( |
|
336 | + $size = $this->getMultiSelectSize( |
|
337 | 337 | count($options), |
338 | 338 | static::MULTISELECT_MIN_SIZE, |
339 | 339 | static::MULTISELECT_MAX_SIZE |
@@ -410,7 +410,7 @@ discard block |
||
410 | 410 | */ |
411 | 411 | protected function createUserLanguageSelect(array $options): Select |
412 | 412 | { |
413 | - $size = $this->getMultiSelectSize( |
|
413 | + $size = $this->getMultiSelectSize( |
|
414 | 414 | count($options), |
415 | 415 | static::MULTISELECT_MIN_SIZE, |
416 | 416 | static::MULTISELECT_MAX_SIZE |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | $eventDispatcher |
45 | 45 | ); |
46 | 46 | |
47 | - $this->crypto = $crypto; |
|
47 | + $this->crypto = $crypto; |
|
48 | 48 | } |
49 | 49 | |
50 | 50 | /** |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | '', |
76 | 76 | '' |
77 | 77 | ); |
78 | - $entity = new Entity( |
|
78 | + $entity = new Entity( |
|
79 | 79 | $entityId, |
80 | 80 | '', |
81 | 81 | '', |