changed some wording in comments
This commit is contained in:
parent
2f99531780
commit
70aa4d1f06
@ -84,7 +84,7 @@ class Router
|
||||
|
||||
foreach ($this->dynamicRoutes as $route) {
|
||||
// PHPStorm doesn't know that $parameters are always available,
|
||||
// (as it is a dynamic route) so I init the array just to make PHPStorm happy.
|
||||
// (as it this are dynamic routes) so I init the array just to make PHPStorm happy.
|
||||
$parameters = [];
|
||||
if (preg_match(pattern: $route->getRegex(), subject: $requestUri, matches: $matches)) {
|
||||
foreach ($route->getParameters() as $id => $parameter) {
|
||||
|
Loading…
Reference in New Issue
Block a user