@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | /** |
4 | 4 | * /src/Rest/Traits/RestMethodProcessCriteria.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/App/Validator/Constraints/EntityReferenceExistsValidator.php |
5 | 5 | * |
@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | private function getInvalidValues(array $entities): array |
121 | 121 | { |
122 | 122 | return array_map( |
123 | - static fn (EntityInterface $entity): string => $entity->getId(), |
|
123 | + static fn(EntityInterface $entity): string => $entity->getId(), |
|
124 | 124 | array_filter($entities, $this->getFilterClosure()) |
125 | 125 | ); |
126 | 126 | } |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | /** |
4 | 4 | * /src/Entity/DateDimension.php |
5 | 5 | * |
@@ -262,7 +262,7 @@ discard block |
||
262 | 262 | array_merge( |
263 | 263 | [RolesService::ROLE_API], |
264 | 264 | $this->userGroups |
265 | - ->map(static fn (UserGroup $userGroup): string => $userGroup->getRole()->getId()) |
|
265 | + ->map(static fn(UserGroup $userGroup): string => $userGroup->getRole()->getId()) |
|
266 | 266 | ->toArray() |
267 | 267 | ) |
268 | 268 | ) |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | /** |
4 | 4 | * /src/Entity/Traits/UserRelations.php |
5 | 5 | * |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | public function getRoles(): array |
106 | 106 | { |
107 | 107 | return $this->userGroups |
108 | - ->map(static fn (UserGroup $userGroup): string => $userGroup->getRole()->getId()) |
|
108 | + ->map(static fn(UserGroup $userGroup): string => $userGroup->getRole()->getId()) |
|
109 | 109 | ->toArray(); |
110 | 110 | } |
111 | 111 |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | /** |
4 | 4 | * /src/Entity/Traits/LogRequestProcessRequestTrait.php |
5 | 5 | * |
@@ -512,7 +512,7 @@ discard block |
||
512 | 512 | /** @var array<string, mixed> $output */ |
513 | 513 | $output = JSON::decode($rawContent, true); |
514 | 514 | } catch (JsonException $error) { |
515 | - (static fn (Throwable $error): Throwable => $error)($error); |
|
515 | + (static fn(Throwable $error): Throwable => $error)($error); |
|
516 | 516 | |
517 | 517 | // Oh noes content isn't JSON so just parse it |
518 | 518 | $output = []; |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | /** |
4 | 4 | * /src/Exception/ValidatorException.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/Exception/interfaces/ClientErrorInterface.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/Doctrine/DBAL/Types/EnumLocaleType.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/Doctrine/DBAL/Types/EnumLanguageType.php |
5 | 5 | * |