Passed
Pull Request — master (#354)
by Dmitriy
05:37 queued 03:06
created
src/Container.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -305,7 +305,7 @@
 block discarded – undo
305 305
                 $class === null ? [] : [ArrayDefinition::CLASS_NAME => $class],
306 306
                 [ArrayDefinition::CONSTRUCTOR => $constructorArguments],
307 307
                 // extract only value from parsed definition method
308
-                array_map(fn (array $data): mixed => $data[2], $methodsAndProperties),
308
+                array_map(fn (array $data) : mixed => $data[2], $methodsAndProperties),
309 309
             );
310 310
         }
311 311
 
Please login to merge, or discard this patch.
src/Hook/AfterBuiltHook.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 {
12 12
     public static function unsetInstance(): Closure
13 13
     {
14
-        return function (Container $container, string $id) {
14
+        return function(Container $container, string $id) {
15 15
             /**
16 16
              * @var $this Container
17 17
              */
Please login to merge, or discard this patch.