@@ -183,7 +183,7 @@ discard block |
||
183 | 183 | 'is_gravatar_allowed' => $isGravatarAllowed, |
184 | 184 | ], |
185 | 185 | ]; |
186 | - $statement0 = MockStatementFactory::createReadStatement($this, $values, $expectedData); |
|
186 | + $statement0 = MockStatementFactory::createReadStatement($this, $values, $expectedData); |
|
187 | 187 | |
188 | 188 | $this->readConnectionMock |
189 | 189 | ->expects($this->once()) |
@@ -226,7 +226,7 @@ discard block |
||
226 | 226 | 'user_group_names' => $userGroupNames, |
227 | 227 | ], |
228 | 228 | ]; |
229 | - $statement0 = MockStatementFactory::createReadStatement($this, $values, $expectedData); |
|
229 | + $statement0 = MockStatementFactory::createReadStatement($this, $values, $expectedData); |
|
230 | 230 | |
231 | 231 | $this->readConnectionMock |
232 | 232 | ->expects($this->once()) |
@@ -263,7 +263,7 @@ discard block |
||
263 | 263 | 'is_gravatar_allowed' => $isGravatarAllowed, |
264 | 264 | ], |
265 | 265 | ]; |
266 | - $statement0 = MockStatementFactory::createReadStatement($this, $values, $expectedData); |
|
266 | + $statement0 = MockStatementFactory::createReadStatement($this, $values, $expectedData); |
|
267 | 267 | |
268 | 268 | $this->readConnectionMock |
269 | 269 | ->expects($this->once()) |
@@ -303,7 +303,7 @@ discard block |
||
303 | 303 | 'is_gravatar_allowed' => $isGravatarAllowed, |
304 | 304 | ], |
305 | 305 | ]; |
306 | - $statement0 = MockStatementFactory::createReadStatement($this, $values, $expectedData); |
|
306 | + $statement0 = MockStatementFactory::createReadStatement($this, $values, $expectedData); |
|
307 | 307 | |
308 | 308 | $this->readConnectionMock |
309 | 309 | ->expects($this->once()) |
@@ -340,7 +340,7 @@ discard block |
||
340 | 340 | 'is_gravatar_allowed' => $isGravatarAllowed, |
341 | 341 | ], |
342 | 342 | ]; |
343 | - $statement0 = MockStatementFactory::createReadStatement($this, $values, $expectedData); |
|
343 | + $statement0 = MockStatementFactory::createReadStatement($this, $values, $expectedData); |
|
344 | 344 | |
345 | 345 | $this->readConnectionMock |
346 | 346 | ->expects($this->once()) |
@@ -377,7 +377,7 @@ discard block |
||
377 | 377 | 'is_gravatar_allowed' => $isGravatarAllowed, |
378 | 378 | ], |
379 | 379 | ]; |
380 | - $statement0 = MockStatementFactory::createReadStatement($this, $values, $expectedData); |
|
380 | + $statement0 = MockStatementFactory::createReadStatement($this, $values, $expectedData); |
|
381 | 381 | |
382 | 382 | $this->readConnectionMock |
383 | 383 | ->expects($this->once()) |
@@ -414,7 +414,7 @@ discard block |
||
414 | 414 | 'is_gravatar_allowed' => $isGravatarAllowed, |
415 | 415 | ], |
416 | 416 | ]; |
417 | - $statement0 = MockStatementFactory::createReadStatement($this, $values, $expectedData); |
|
417 | + $statement0 = MockStatementFactory::createReadStatement($this, $values, $expectedData); |
|
418 | 418 | |
419 | 419 | $this->readConnectionMock |
420 | 420 | ->expects($this->once()) |
@@ -451,7 +451,7 @@ discard block |
||
451 | 451 | 'is_gravatar_allowed' => $isGravatarAllowed, |
452 | 452 | ], |
453 | 453 | ]; |
454 | - $statement0 = MockStatementFactory::createReadStatement($this, $values, $expectedData); |
|
454 | + $statement0 = MockStatementFactory::createReadStatement($this, $values, $expectedData); |
|
455 | 455 | |
456 | 456 | $this->readConnectionMock |
457 | 457 | ->expects($this->once()) |
@@ -488,7 +488,7 @@ discard block |
||
488 | 488 | 'is_gravatar_allowed' => $isGravatarAllowed, |
489 | 489 | ], |
490 | 490 | ]; |
491 | - $statement0 = MockStatementFactory::createReadStatement($this, $values, $expectedData); |
|
491 | + $statement0 = MockStatementFactory::createReadStatement($this, $values, $expectedData); |
|
492 | 492 | |
493 | 493 | $this->readConnectionMock |
494 | 494 | ->expects($this->once()) |
@@ -526,7 +526,7 @@ discard block |
||
526 | 526 | 'is_gravatar_allowed' => $isGravatarAllowed, |
527 | 527 | ], |
528 | 528 | ]; |
529 | - $statement0 = MockStatementFactory::createReadStatement($this, $values, $expectedData); |
|
529 | + $statement0 = MockStatementFactory::createReadStatement($this, $values, $expectedData); |
|
530 | 530 | |
531 | 531 | $this->readConnectionMock |
532 | 532 | ->expects($this->once()) |
@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | ['id' => $id0, 'api_client_id' => $apiClientId0, 'expires_at' => $expiresAt0, 'revoked_at' => $revokedAt0], |
121 | 121 | ['id' => $id1, 'api_client_id' => $apiClientId1, 'expires_at' => $expiresAt1, 'revoked_at' => $revokedAt1], |
122 | 122 | ]; |
123 | - $statement0 = MockStatementFactory::createReadStatement($this, $values, $expectedData); |
|
123 | + $statement0 = MockStatementFactory::createReadStatement($this, $values, $expectedData); |
|
124 | 124 | |
125 | 125 | $this->readConnectionMock |
126 | 126 | ->expects($this->once()) |
@@ -179,7 +179,7 @@ discard block |
||
179 | 179 | 'revoked_at' => $revokedAt, |
180 | 180 | ], |
181 | 181 | ]; |
182 | - $statement0 = MockStatementFactory::createReadStatement($this, $values, $expectedData); |
|
182 | + $statement0 = MockStatementFactory::createReadStatement($this, $values, $expectedData); |
|
183 | 183 | |
184 | 184 | $this->readConnectionMock |
185 | 185 | ->expects($this->once()) |
@@ -119,7 +119,7 @@ |
||
119 | 119 | ['id' => $id0, 'ip_hash' => $ipHash0, 'username' => $username0, 'ip_address' => null], |
120 | 120 | ['id' => $id1, 'ip_hash' => $ipHash1, 'username' => $username1, 'ip_address' => $ipAddress1], |
121 | 121 | ]; |
122 | - $statement0 = MockStatementFactory::createReadStatement($this, $values, $expectedData); |
|
122 | + $statement0 = MockStatementFactory::createReadStatement($this, $values, $expectedData); |
|
123 | 123 | |
124 | 124 | $this->readConnectionMock |
125 | 125 | ->expects($this->once(0)) |
@@ -17,7 +17,7 @@ |
||
17 | 17 | protected const ATTRIBUTE_CLASS = 'class'; |
18 | 18 | |
19 | 19 | /** @var array<string,Attribute> */ |
20 | - protected array $attributes = []; |
|
20 | + protected array $attributes = []; |
|
21 | 21 | |
22 | 22 | public function __construct() |
23 | 23 | { |
@@ -177,7 +177,7 @@ |
||
177 | 177 | */ |
178 | 178 | protected function createAdminResourceSelect(array $options): Select |
179 | 179 | { |
180 | - $size = $this->getMultiSelectSize( |
|
180 | + $size = $this->getMultiSelectSize( |
|
181 | 181 | count($options), |
182 | 182 | static::MULTISELECT_MIN_SIZE, |
183 | 183 | static::MULTISELECT_MAX_SIZE |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | */ |
88 | 88 | protected function addJsOnly(): ApiClient |
89 | 89 | { |
90 | - $content = sprintf( |
|
90 | + $content = sprintf( |
|
91 | 91 | '<i class="material-icons">warning</i> %s', |
92 | 92 | $this->translator->translate('admin:jsOnly') |
93 | 93 | ); |
@@ -192,7 +192,7 @@ discard block |
||
192 | 192 | */ |
193 | 193 | protected function createAdminResourceSelect(array $options): Select |
194 | 194 | { |
195 | - $size = $this->getMultiSelectSize( |
|
195 | + $size = $this->getMultiSelectSize( |
|
196 | 196 | count($options), |
197 | 197 | static::MULTISELECT_MIN_SIZE, |
198 | 198 | static::MULTISELECT_MAX_SIZE |
@@ -227,7 +227,7 @@ discard block |
||
227 | 227 | Html5::ATTR_CLASS => ['pmd-alert-toggle'], |
228 | 228 | ] |
229 | 229 | ); |
230 | - $btn = $this->buttonFactory->createWithIcon( |
|
230 | + $btn = $this->buttonFactory->createWithIcon( |
|
231 | 231 | 'admin:generateSecret', |
232 | 232 | 'autorenew', |
233 | 233 | [], |
@@ -105,7 +105,7 @@ |
||
105 | 105 | */ |
106 | 106 | protected function getOffset(Collection $query, int $pageSize): int |
107 | 107 | { |
108 | - $page = (int)$query->get('page', 1); |
|
108 | + $page = (int)$query->get('page', 1); |
|
109 | 109 | |
110 | 110 | return ($page - 1) * $pageSize; |
111 | 111 | } |
@@ -43,7 +43,7 @@ |
||
43 | 43 | $eventDispatcher |
44 | 44 | ); |
45 | 45 | |
46 | - $this->crypto = $crypto; |
|
46 | + $this->crypto = $crypto; |
|
47 | 47 | } |
48 | 48 | |
49 | 49 | /** |
@@ -144,7 +144,7 @@ |
||
144 | 144 | IConnection $writeConnection, |
145 | 145 | IUnitOfWork $unitOfWork |
146 | 146 | ): \Closure { |
147 | - return function () use ( |
|
147 | + return function() use ( |
|
148 | 148 | $repoClass, |
149 | 149 | $dataMapperClass, |
150 | 150 | $entityClass, |