Skip to content
Merged
2 changes: 1 addition & 1 deletion src/Services/SwaggerService.php
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ public function getConcreteRequest()
$explodedController = explode('@', $controller);

$class = $explodedController[0];
$method = $explodedController[1];
$method = $explodedController[1] ?? '__invoke';

if (!method_exists($class, $method)) {
return null;
Expand Down
Loading