diff --git a/system/Router/AutoRouterImproved.php b/system/Router/AutoRouterImproved.php index b8c1e9d35099..ca372f2006ea 100644 --- a/system/Router/AutoRouterImproved.php +++ b/system/Router/AutoRouterImproved.php @@ -298,7 +298,7 @@ public function getRoute(string $uri, string $httpVerb): array if ($params === []) { $this->paramPos = null; } - if ($this->paramPos !== null) { + if ($this->paramPos !== null) { // @phpstan-ignore-line $this->paramPos++; }