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