Skip to content

Commit b092331

Browse files
Merge pull request #104 from eclips16/patch-1
fix bug not skipping duplicate routes
2 parents 2331ebf + 86dbf8f commit b092331

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LaravelRequestDocs.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public function getControllersInfo(): array
8585
foreach ($controllersInfo as $controllerInfo) {
8686
if ($controllerInfo['uri'] == $route->uri && $controllerInfo['httpMethod'] == $httpMethod) {
8787
// is duplicate
88-
continue;
88+
continue 2;
8989
}
9090
}
9191

0 commit comments

Comments
 (0)