diff --git a/src/Generator.php b/src/Generator.php index fa52614..4515464 100644 --- a/src/Generator.php +++ b/src/Generator.php @@ -43,7 +43,7 @@ public function generate() continue; } - $this->action = $route->getAction('uses'); + $this->action = $route->getAction()['uses']; $methods = $route->methods(); if (!isset($this->docs['paths'][$this->uri])) {