Skip to content

Commit d69342b

Browse files
committed
Remove wrong condition
1 parent 4f1eb60 commit d69342b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/LaravelRequestDocs.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,7 @@ public function getControllersInfo(array $onlyMethods): Collection
189189
$controllerName = (new ReflectionClass($controllerFullPath))->getShortName();
190190
}
191191

192-
$paths = [];
193-
if (Str::startsWith($route->uri, 'user')) {
194-
$paths = $this->routePath->getPaths($route);
195-
}
192+
$paths = $this->routePath->getPaths($route);
196193

197194
$doc = new Doc(
198195
$route->uri,

0 commit comments

Comments
 (0)