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 7b6cc1c commit e084145Copy full SHA for e084145
packages/router/src/Routing/Construction/RoutingTree.php
@@ -30,7 +30,7 @@ public function add(MarkedRoute $markedRoute): void
30
$segments = $markedRoute->route->split();
31
32
// Traverse the tree and find the node for each route segment
33
- foreach ($segments as $index => $routeSegment) {
+ foreach ($segments as $routeSegment) {
34
$isOptional = $this->isOptionalSegment($routeSegment);
35
36
if ($isOptional) {
0 commit comments