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