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.
2 parents 17c5521 + 3128abb commit 35638e4Copy full SHA for 35638e4
src/DataCollector/RouteCollector.php
@@ -58,7 +58,7 @@ protected function getRouteInformation($route)
58
$result = array_merge($result, $action);
59
60
61
- if (isset($action['controller']) && strpos($action['controller'], '@') !== false) {
+ if (isset($action['controller']) && is_string($action['controller']) && strpos($action['controller'], '@') !== false) {
62
list($controller, $method) = explode('@', $action['controller']);
63
if(class_exists($controller) && method_exists($controller, $method)) {
64
$reflector = new \ReflectionMethod($controller, $method);
0 commit comments