We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0978b28 commit 9f61234Copy full SHA for 9f61234
src/Utils/Html.php
@@ -499,7 +499,7 @@ final public function __call(string $m, array $args): mixed
499
/**
500
* Special setter for element's attribute.
501
*/
502
- final public function href(string $path, ?array $query = null): static
+ final public function href(string $path, array $query = []): static
503
{
504
if ($query) {
505
$query = http_build_query($query, '', '&');
0 commit comments