@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | /** |
| 4 | 4 | * /src/Validator/Constraints/Timezone.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/Validator/Constraints/Locale.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/Validator/Constraints/LocaleValidator.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/Validator/Constraints/Language.php |
| 5 | 5 | * |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | // phpcs:ignoreFile |
| 6 | 6 | /** @noinspection PhpIllegalPsrClassPathInspection */ |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | /** |
| 4 | 4 | * /src/Security/UserTypeIdentification.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/Security/ApiKeyUser.php |
| 5 | 5 | * |
@@ -65,7 +65,7 @@ discard block |
||
| 65 | 65 | // Iterate API key user groups and extract roles from those and attach base 'ROLE_API' |
| 66 | 66 | $roles = $this->apiKey |
| 67 | 67 | ->getUserGroups() |
| 68 | - ->map(static fn (UserGroup $userGroup): string => $userGroup->getRole()->getId()) |
|
| 68 | + ->map(static fn(UserGroup $userGroup): string => $userGroup->getRole()->getId()) |
|
| 69 | 69 | ->toArray(); |
| 70 | 70 | |
| 71 | 71 | $roles[] = RolesService::ROLE_API; |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | /** |
| 4 | 4 | * /src/Rest/UuidHelper.php |
| 5 | 5 | * |
@@ -35,7 +35,7 @@ discard block |
||
| 35 | 35 | */ |
| 36 | 36 | public static function getFactory(): UuidFactory |
| 37 | 37 | { |
| 38 | - return self::$cache ??= self::initCache(); |
|
| 38 | + return self::$cache ?? = self::initCache(); |
|
| 39 | 39 | } |
| 40 | 40 | |
| 41 | 41 | /** |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | } |
| 59 | 59 | } catch (InvalidUuidStringException $exception) { |
| 60 | 60 | // ok, so now we know that value isn't uuid |
| 61 | - (static fn (Throwable $exception): Throwable => $exception)($exception); |
|
| 61 | + (static fn(Throwable $exception): Throwable => $exception)($exception); |
|
| 62 | 62 | } |
| 63 | 63 | |
| 64 | 64 | return $output; |