We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4b91ad commit f409d24Copy full SHA for f409d24
src/Intouch/LaravelNewrelic/LumenNewrelicMiddleware.php
@@ -66,7 +66,7 @@ protected function getRoute()
66
*/
67
protected function getController()
68
{
69
- return $this->getRouteObject()['action']['uses'];
+ return isset($this->getRouteObject()['action']['uses']) ? $this->getRouteObject()['action']['uses'] : 'Closure';
70
}
71
72
/**
0 commit comments