@@ -165,7 +165,7 @@ |
||
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 |