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 04aaf7b commit a427dd3Copy full SHA for a427dd3
src/Console/Command/Docs.php
@@ -96,7 +96,9 @@ protected function getControllers()
96
foreach ($this->router->getRoutes() as $collections) {
97
foreach ($collections as $route) {
98
if ($controller = $route->getController()) {
99
- $controllers[] = $controller;
+ if(!$controllers->contains($controller)) {
100
+ $controllers->push($controller);
101
+ }
102
}
103
104
0 commit comments