@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | /** |
4 | 4 | * /src/Utils/Interfaces/RequestLoggerInterface.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/Utils/Interfaces/LoginLoggerInterface.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/Interfaces/ControllerInterface.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/Interfaces/ResponseHandlerInterface.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/Resource/UserResource.php |
5 | 5 | * |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | * |
78 | 78 | * @return bool |
79 | 79 | */ |
80 | - $filter = fn (Entity $user): bool => in_array( |
|
80 | + $filter = fn(Entity $user): bool => in_array( |
|
81 | 81 | $userGroup->getRole()->getId(), |
82 | 82 | $this->rolesService->getInheritedRoles($user->getRoles()), |
83 | 83 | true |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | /** |
4 | 4 | * /src/Security/Handler/TranslatedAuthenticationFailureHandler.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/AutoMapper/RestRequestMapper.php |
5 | 5 | * |
@@ -137,6 +137,6 @@ discard block |
||
137 | 137 | */ |
138 | 138 | private function getValidProperties(Request $request): array |
139 | 139 | { |
140 | - return array_filter(static::$properties, static fn ($property) => $request->request->has($property)); |
|
140 | + return array_filter(static::$properties, static fn($property) => $request->request->has($property)); |
|
141 | 141 | } |
142 | 142 | } |
@@ -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 | } |