Passed
Push — master ( b2f956...c529b3 )
by Sebastian
04:14
created
src/Linna/Container/Container.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -159,11 +159,11 @@
 block discarded – undo
159 159
         while (true) {
160 160
 
161 161
             //initialize array if not already initialized
162
-            $this->tree[$level][$class] ??= [];
162
+            $this->tree[$level][$class] ?? = [];
163 163
 
164 164
             //get parameter from constructor
165 165
             //can return error when constructor not declared
166
-            $constructor = (new ReflectionClass($class))->getConstructor();//->getParameters();
166
+            $constructor = (new ReflectionClass($class))->getConstructor(); //->getParameters();
167 167
             //this should be resolve the error of when a class without constructor is encountered
168 168
             $parameters = \is_null($constructor) ? [] : $constructor->getParameters();
169 169
 
Please login to merge, or discard this patch.