Open milanbeo opened 4 years ago
message: ErrorException: get_class() expects parameter 1 to be object, null given in \bsrestoauth2\vendor\flipbox\lumen-generator\src\LumenGenerator\Console\RouteListCommand.php:65
Used in Lumen7 + dingo 3. causes part of the code in dingo routes:
$api->get( '/', function () { return [ 'message' => trans('messages.welcome'), 'branch' => 'dev-production', ]; } );
It works normally in use.
I have the exact same issue. Affected line is 'controller' => get_class($innerRoute->getControllerInstance()), in the RouteListCommand class.
'controller' => get_class($innerRoute->getControllerInstance()),
RouteListCommand
Any chance for a fix?
message: ErrorException: get_class() expects parameter 1 to be object, null given in \bsrestoauth2\vendor\flipbox\lumen-generator\src\LumenGenerator\Console\RouteListCommand.php:65
Used in Lumen7 + dingo 3. causes part of the code in dingo routes:
$api->get( '/', function () { return [ 'message' => trans('messages.welcome'), 'branch' => 'dev-production', ]; } );
It works normally in use.