Fix missing static check

This commit is contained in:
Alejandro Celaya
2026-04-02 11:07:48 +02:00
parent 5269cca32c
commit da5afc0f28
@@ -147,7 +147,7 @@ class RedirectCondition extends AbstractEntity implements JsonSerializable
private function matchesQueryParam(ServerRequestInterface $request): bool
{
$query = $request->getQueryParams();
$queryValue = $query[$this->matchKey] ?? null;
$queryValue = $this->matchKey !== null ? ($query[$this->matchKey] ?? null) : null;
return $queryValue === $this->matchValue;
}