Fixed full match not being removed from args list.
This commit is contained in:
parent
a5cfba6b96
commit
add621716a
2 changed files with 2 additions and 1 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
0.2403.282022
|
||||
0.2403.282033
|
||||
|
|
|
@ -93,6 +93,7 @@ class HttpRouter implements IRouter {
|
|||
foreach($this->dynamicRoutes as $rPattern => $rMethods)
|
||||
if(preg_match($rPattern, $path, $args) === 1) {
|
||||
$methods = $rMethods;
|
||||
array_shift($args);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue