Passed
Push — iterable ( 3a87f7...fef57b )
by Dmitriy
06:08 queued 03:28
created
src/Container.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -309,7 +309,7 @@  discard block
 block discarded – undo
309 309
                 $class === null ? [] : [ArrayDefinition::CLASS_NAME => $class],
310 310
                 [ArrayDefinition::CONSTRUCTOR => $constructorArguments],
311 311
                 // extract only value from parsed definition method
312
-                array_map(fn (array $data): mixed => $data[2], $methodsAndProperties),
312
+                array_map(fn (array $data) : mixed => $data[2], $methodsAndProperties),
313 313
             );
314 314
         }
315 315
 
@@ -330,7 +330,7 @@  discard block
 block discarded – undo
330 330
         /** @var mixed $value */
331 331
         /** @psalm-suppress MixedAssignment */
332 332
         foreach ($meta as $key => $value) {
333
-            $key = (string)$key;
333
+            $key = (string) $key;
334 334
             if (!in_array($key, self::ALLOWED_META, true)) {
335 335
                 throw new InvalidConfigException(
336 336
                     sprintf(
@@ -426,7 +426,7 @@  discard block
 block discarded – undo
426 426
         }
427 427
         /** @psalm-var iterable<string, iterable<string>> $tags */
428 428
 
429
-        $this->tags = $tags instanceof Traversable ? iterator_to_array($tags, true) : $tags ;
429
+        $this->tags = $tags instanceof Traversable ? iterator_to_array($tags, true) : $tags;
430 430
     }
431 431
 
432 432
     /**
Please login to merge, or discard this patch.