@@ -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/Entity/Interfaces/UserGroupAwareInterface.php |
5 | 5 | * |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | /** |
24 | 24 | * @return Collection<int, UserGroup>|ArrayCollection<int, UserGroup> |
25 | 25 | */ |
26 | - public function getUserGroups(): Collection | ArrayCollection; |
|
26 | + public function getUserGroups(): Collection|ArrayCollection; |
|
27 | 27 | |
28 | 28 | /** |
29 | 29 | * Method to attach new userGroup to current user OR api key. |
@@ -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 | * |
@@ -327,6 +327,6 @@ discard block |
||
327 | 327 | { |
328 | 328 | $output = DateTimeImmutable::createFromFormat('U', (string)$this->getUnixTime(), new DateTimeZone('UTC')); |
329 | 329 | |
330 | - return $output === false ? new DateTimeImmutable(timezone: new DateTimeZone('UTC')) : $output; |
|
330 | + return $output === false ? new DateTimeImmutable(timezone : new DateTimeZone('UTC')) : $output; |
|
331 | 331 | } |
332 | 332 | } |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | /** |
4 | 4 | * /src/Exception/models/ValidatorError.php |
5 | 5 | * |
@@ -20,10 +20,10 @@ discard block |
||
20 | 20 | */ |
21 | 21 | class ValidatorError |
22 | 22 | { |
23 | - public string | Stringable $message; |
|
23 | + public string|Stringable $message; |
|
24 | 24 | public string $propertyPath; |
25 | 25 | public string $target; |
26 | - public string | null $code; |
|
26 | + public string|null $code; |
|
27 | 27 | |
28 | 28 | public function __construct(ConstraintViolationInterface $error, string $target) |
29 | 29 | { |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | /** |
4 | 4 | * /src/Repository/Interfaces/BaseRepositoryInterface.php |
5 | 5 | * |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | * |
88 | 88 | * @throws NonUniqueResultException |
89 | 89 | */ |
90 | - public function findAdvanced(string $id, string | int | null $hydrationMode = null): null | array | EntityInterface; |
|
90 | + public function findAdvanced(string $id, string|int|null $hydrationMode = null): null|array|EntityInterface; |
|
91 | 91 | |
92 | 92 | /** |
93 | 93 | * Wrapper for default Doctrine repository findOneBy method. |
@@ -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/UserGroup.php |
5 | 5 | * |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | #[Groups([ |
124 | 124 | 'UserGroup.users', |
125 | 125 | ])] |
126 | - private Collection | ArrayCollection $users; |
|
126 | + private Collection|ArrayCollection $users; |
|
127 | 127 | |
128 | 128 | /** |
129 | 129 | * @var Collection<int, ApiKey>|ArrayCollection<int, ApiKey> |
@@ -139,7 +139,7 @@ discard block |
||
139 | 139 | #[Groups([ |
140 | 140 | 'UserGroup.apiKeys', |
141 | 141 | ])] |
142 | - private Collection | ArrayCollection $apiKeys; |
|
142 | + private Collection|ArrayCollection $apiKeys; |
|
143 | 143 | |
144 | 144 | public function __construct() |
145 | 145 | { |
@@ -186,7 +186,7 @@ discard block |
||
186 | 186 | /** |
187 | 187 | * @return Collection<int, User>|ArrayCollection<int, User> |
188 | 188 | */ |
189 | - public function getUsers(): Collection | ArrayCollection |
|
189 | + public function getUsers(): Collection|ArrayCollection |
|
190 | 190 | { |
191 | 191 | return $this->users; |
192 | 192 | } |
@@ -194,7 +194,7 @@ discard block |
||
194 | 194 | /** |
195 | 195 | * @return Collection<int, ApiKey>|ArrayCollection<int, ApiKey> |
196 | 196 | */ |
197 | - public function getApiKeys(): Collection | ArrayCollection |
|
197 | + public function getApiKeys(): Collection|ArrayCollection |
|
198 | 198 | { |
199 | 199 | return $this->apiKeys; |
200 | 200 | } |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | /** |
4 | 4 | * /src/Compiler/StopwatchCompilerPass.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/Rest/Interfaces/SearchTermInterface.php |
5 | 5 | * |
@@ -38,8 +38,8 @@ discard block |
||
38 | 38 | * @return array<string, array<string, array<string, string>>>|null |
39 | 39 | */ |
40 | 40 | public static function getCriteria( |
41 | - array | string $column, |
|
42 | - array | string $search, |
|
41 | + array|string $column, |
|
42 | + array|string $search, |
|
43 | 43 | ?string $operand = null, |
44 | 44 | ?int $mode = null, |
45 | 45 | ): ?array; |