diff --git a/src/Utils/Html.php b/src/Utils/Html.php index 071105eee..270b07900 100644 --- a/src/Utils/Html.php +++ b/src/Utils/Html.php @@ -499,7 +499,7 @@ final public function __call(string $m, array $args): mixed /** * Special setter for element's attribute. */ - final public function href(string $path, ?array $query = null): static + final public function href(string $path, array $query = []): static { if ($query) { $query = http_build_query($query, '', '&');