Skip to content

Commit

Permalink
Merge pull request #104 from eclips16/patch-1
Browse files Browse the repository at this point in the history
fix bug not skipping duplicate routes
  • Loading branch information
kevincobain2000 authored Nov 4, 2022
2 parents 2331ebf + 86dbf8f commit b092331
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 b092331

Please sign in to comment.