Completed
Push — master ( 34cc26...d3867f )
by Sebastian
04:06
created
src/Linna/Container/Container.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@
 block discarded – undo
168 168
 
169 169
             //get parameter from constructor
170 170
             //can return error when constructor not declared
171
-            $constructor = (new ReflectionClass($class))->getConstructor();//->getParameters();
171
+            $constructor = (new ReflectionClass($class))->getConstructor(); //->getParameters();
172 172
             //this should resolve the error when a class without constructor is encountered
173 173
             $parameters = \is_null($constructor) ? [] : $constructor->getParameters();
174 174
 
Please login to merge, or discard this patch.