@@ -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 | $entities = [ |
| 43 | 43 | 'usergroups' => 'UserGroup', |
| 44 | 44 | 'userlanguages' => 'UserLanguage', |
@@ -15,7 +15,7 @@ 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, |
@@ -23,7 +23,7 @@ discard block |
||
| 23 | 23 | Api::class, |
| 24 | 24 | ], |
| 25 | 25 | ], |
| 26 | - function (Router $router) { |
|
| 26 | + function(Router $router) { |
|
| 27 | 27 | /** @see \AbterPhp\Admin\Http\Controllers\Api\Index::notFound() */ |
| 28 | 28 | $router->any( |
| 29 | 29 | Routes::PATH_404, |