Passed
Pull Request — master (#54)
by Arman
04:33 queued 01:55
created
src/Di/Di.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,8 +74,8 @@
 block discarded – undo
74 74
         foreach ($reflection->getParameters() as $param) {
75 75
             $type = $param->getType();
76 76
 
77
-            if(!self::instantiable($type)) {
78
-                if($type && $type->getName() == 'array') {
77
+            if (!self::instantiable($type)) {
78
+                if ($type && $type->getName() == 'array') {
79 79
                     array_push($params, $additional);
80 80
                 } else {
81 81
                     array_push($params, current($additional));
Please login to merge, or discard this patch.