Skip to content

Commit b9ff594

Browse files
committed
Fix old method reference for Route::getControllerInstance.
Signed-off-by: Jason Lewis <[email protected]>
1 parent b5f540b commit b9ff594

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Console/Command/Docs.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ protected function getControllers()
150150

151151
foreach ($this->router->getRoutes() as $collections) {
152152
foreach ($collections as $route) {
153-
if ($controller = $route->getController()) {
153+
if ($controller = $route->getControllerInstance()) {
154154
$this->addControllerIfNotExists($controllers, $controller);
155155
}
156156
}

0 commit comments

Comments
 (0)