@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | /** |
| 4 | 4 | * /src/Rest/Traits/RestResourceBaseMethods.php |
| 5 | 5 | * |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | /** |
| 4 | 4 | * /src/Rest/Traits/Actions/RestActionBase.php |
| 5 | 5 | * |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | /** |
| 4 | 4 | * /src/Rest/Traits/Methods/IdsMethod.php |
| 5 | 5 | * |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | /** |
| 4 | 4 | * /src/Rest/Traits/RestResourceLifeCycles.php |
| 5 | 5 | * |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | /** |
| 4 | 4 | * /src/Rest/Traits/RestMethodHelper.php |
| 5 | 5 | * |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | /** |
| 4 | 4 | * /src/EventSubscriber/DoctrineExtensionSubscriber.php |
| 5 | 5 | * |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | /** |
| 4 | 4 | * /src/Command/HelperConfigure.php |
| 5 | 5 | * |
@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | |
| 35 | 35 | private static function getParameterIterator(): Closure |
| 36 | 36 | { |
| 37 | - return static fn (array $input): InputOption => new InputOption( |
|
| 37 | + return static fn(array $input): InputOption => new InputOption( |
|
| 38 | 38 | (string)$input['name'], |
| 39 | 39 | array_key_exists('shortcut', $input) ? (string)$input['shortcut'] : null, |
| 40 | 40 | array_key_exists('mode', $input) ? (int)$input['mode'] : InputOption::VALUE_OPTIONAL, |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | /** |
| 4 | 4 | * /src/Command/ApiKey/ListApiKeysCommand.php |
| 5 | 5 | * |
@@ -82,13 +82,13 @@ discard block |
||
| 82 | 82 | */ |
| 83 | 83 | private function getFormatterApiKey(): Closure |
| 84 | 84 | { |
| 85 | - $userGroupFormatter = static fn (UserGroup $userGroup): string => sprintf( |
|
| 85 | + $userGroupFormatter = static fn(UserGroup $userGroup): string => sprintf( |
|
| 86 | 86 | '%s (%s)', |
| 87 | 87 | $userGroup->getName(), |
| 88 | 88 | $userGroup->getRole()->getId(), |
| 89 | 89 | ); |
| 90 | 90 | |
| 91 | - return fn (ApiKey $apiToken): array => [ |
|
| 91 | + return fn(ApiKey $apiToken): array => [ |
|
| 92 | 92 | $apiToken->getId(), |
| 93 | 93 | $apiToken->getToken(), |
| 94 | 94 | $apiToken->getDescription(), |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | /** |
| 4 | 4 | * /src/Command/User/ListUserGroupsCommand.php |
| 5 | 5 | * |
@@ -80,14 +80,14 @@ discard block |
||
| 80 | 80 | */ |
| 81 | 81 | private function getFormatterUserGroup(): Closure |
| 82 | 82 | { |
| 83 | - $userFormatter = static fn (User $user): string => sprintf( |
|
| 83 | + $userFormatter = static fn(User $user): string => sprintf( |
|
| 84 | 84 | '%s %s <%s>', |
| 85 | 85 | $user->getFirstName(), |
| 86 | 86 | $user->getLastName(), |
| 87 | 87 | $user->getEmail(), |
| 88 | 88 | ); |
| 89 | 89 | |
| 90 | - return static fn (UserGroup $userGroup): array => [ |
|
| 90 | + return static fn(UserGroup $userGroup): array => [ |
|
| 91 | 91 | $userGroup->getId(), |
| 92 | 92 | $userGroup->getName(), |
| 93 | 93 | $userGroup->getRole()->getId(), |