@@ -19,7 +19,7 @@ |
||
19 | 19 | |
20 | 20 | class ApiClient extends BaseFactory |
21 | 21 | { |
22 | - const LABEL_NEW_SECRET = 'admin:newSecret'; |
|
22 | + const LABEL_NEW_SECRET = 'admin:newSecret'; |
|
23 | 23 | |
24 | 24 | const GROUP_ID = 'apiclient-id'; |
25 | 25 | const GROUP_DESCRIPTION = 'apiclient-description'; |
@@ -90,7 +90,7 @@ |
||
90 | 90 | */ |
91 | 91 | protected function addJsOnly(): ApiClient |
92 | 92 | { |
93 | - $content = sprintf( |
|
93 | + $content = sprintf( |
|
94 | 94 | '<i class="material-icons">warning</i> %s', |
95 | 95 | $this->translator->translate('admin:jsOnly') |
96 | 96 | ); |
@@ -19,7 +19,7 @@ |
||
19 | 19 | */ |
20 | 20 | public function __construct(string $identifier) |
21 | 21 | { |
22 | - $this->identifier = $identifier; |
|
22 | + $this->identifier = $identifier; |
|
23 | 23 | } |
24 | 24 | |
25 | 25 | /** |
@@ -15,12 +15,12 @@ discard block |
||
15 | 15 | */ |
16 | 16 | $router->group( |
17 | 17 | ['controllerNamespace' => 'AbterPhp\Admin\\Http\\Controllers'], |
18 | - function (Router $router) { |
|
18 | + function(Router $router) { |
|
19 | 19 | $router->group( |
20 | 20 | [ |
21 | 21 | 'path' => PATH_API, |
22 | 22 | ], |
23 | - function (Router $router) { |
|
23 | + function(Router $router) { |
|
24 | 24 | /** @see \AbterPhp\Admin\Http\Controllers\Api\AccessToken::create() */ |
25 | 25 | $router->post( |
26 | 26 | Routes::PATH_ACCESS_TOKEN, |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | Api::class, |
39 | 39 | ], |
40 | 40 | ], |
41 | - function (Router $router) { |
|
41 | + function(Router $router) { |
|
42 | 42 | /** @see \AbterPhp\Admin\Http\Controllers\Api\User::create() */ |
43 | 43 | $router->post( |
44 | 44 | Routes::PATH_USERS, |