laravel-find-unused-code
laravel-find-unused-code copied to clipboard
Undefined index: Controller
Line 86:
\Log::info('Ignoring route : ' . $route->getAction()['controller']);
Throws an error: Undefined index: controller.
Fix that worked for me: Remove the $route->getAction()['controller'] and just spit out 'Ignoring route'.