@@ -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/Controller/Role/InheritedRolesController.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/Entity/ApiKey.php |
5 | 5 | * |
@@ -235,7 +235,7 @@ discard block |
||
235 | 235 | array_merge( |
236 | 236 | [RolesService::ROLE_API], |
237 | 237 | $this->userGroups |
238 | - ->map(static fn (UserGroup $userGroup): string => $userGroup->getRole()->getId()) |
|
238 | + ->map(static fn(UserGroup $userGroup): string => $userGroup->getRole()->getId()) |
|
239 | 239 | ->toArray() |
240 | 240 | ) |
241 | 241 | ) |
@@ -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 | * |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | } |
54 | 54 | } catch (InvalidUuidStringException $exception) { |
55 | 55 | // ok, so now we know that value isn't uuid |
56 | - (static fn (InvalidUuidStringException $exception): InvalidUuidStringException => $exception)($exception); |
|
56 | + (static fn(InvalidUuidStringException $exception): InvalidUuidStringException => $exception)($exception); |
|
57 | 57 | } |
58 | 58 | |
59 | 59 | return $output; |
@@ -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 | * |
@@ -423,7 +423,7 @@ discard block |
||
423 | 423 | /** @var array<string, mixed> $output */ |
424 | 424 | $output = JSON::decode($rawContent, true); |
425 | 425 | } catch (JsonException $error) { |
426 | - (static fn (JsonException $error): JsonException => $error)($error); |
|
426 | + (static fn(JsonException $error): JsonException => $error)($error); |
|
427 | 427 | |
428 | 428 | // Oh noes content isn't JSON so just parse it |
429 | 429 | $output = []; |
@@ -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/RepositoryHelper.php |
5 | 5 | * |
@@ -360,11 +360,11 @@ discard block |
||
360 | 360 | try { |
361 | 361 | $value = array_map([UuidHelper::class, 'getBytes'], $value); |
362 | 362 | } catch (InvalidUuidStringException $error) { |
363 | - (static fn (InvalidUuidStringException $error): InvalidUuidStringException => $error)($error); |
|
363 | + (static fn(InvalidUuidStringException $error): InvalidUuidStringException => $error)($error); |
|
364 | 364 | } |
365 | 365 | |
366 | 366 | $parameters[] = array_map( |
367 | - static fn (string $value): Literal => $queryBuilder->expr()->literal( |
|
367 | + static fn(string $value): Literal => $queryBuilder->expr()->literal( |
|
368 | 368 | is_numeric($value) ? (int)$value : $value |
369 | 369 | ), |
370 | 370 | $value |
@@ -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,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/EventSubscriber/DoctrineExtensionSubscriber.php |
5 | 5 | * |