Completed
Push — master ( 714c38...d87922 )
by James Ekow Abaka
01:23
created
src/Container.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
             $instance = $this->getInstance($resolvedClass['binding'], $constructorArguments);
65 65
         }
66 66
         
67
-        foreach($resolvedClass['calls'] ?? [] as $calls) {
67
+        foreach ($resolvedClass['calls'] ?? [] as $calls) {
68 68
             $method = new \ReflectionMethod($instance, $calls[0]);
69 69
             $method->invokeArgs($instance, $this->getMethodArguments($method, $calls[1]));
70 70
         }
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
 
75 75
     private function resolveArgument($argument, $class)
76 76
     {
77
-        if($class && is_string($argument)) {
77
+        if ($class && is_string($argument)) {
78 78
             return $this->resolve($argument);
79 79
         }
80 80
         return $argument;
Please login to merge, or discard this patch.