changed some wording in comments

This commit is contained in:
tracer 2022-10-26 13:16:04 +02:00
parent 2f99531780
commit 70aa4d1f06

View File

@ -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) {