Skip to content

Commit

Permalink
fix bug not skipping duplicate routes
Browse files Browse the repository at this point in the history
  • Loading branch information
eclips16 authored Nov 3, 2022
1 parent 2331ebf commit 86dbf8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LaravelRequestDocs.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public function getControllersInfo(): array
foreach ($controllersInfo as $controllerInfo) {
if ($controllerInfo['uri'] == $route->uri && $controllerInfo['httpMethod'] == $httpMethod) {
// is duplicate
continue;
continue 2;
}
}

Expand Down

0 comments on commit 86dbf8f

Please sign in to comment.