Skip to content

Commit 9f61234

Browse files
committed
some methods use real default values instead of nulls (BC break)
1 parent 0978b28 commit 9f61234

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Utils/Html.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ final public function __call(string $m, array $args): mixed
499499
/**
500500
* Special setter for element's attribute.
501501
*/
502-
final public function href(string $path, ?array $query = null): static
502+
final public function href(string $path, array $query = []): static
503503
{
504504
if ($query) {
505505
$query = http_build_query($query, '', '&');

0 commit comments

Comments
 (0)