Skip to content

Commit 463692d

Browse files
authored
Merge pull request #548 from lekoala/patch-1
fix php 8.4 deprecation message
2 parents ec7a635 + de81db8 commit 463692d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/functions.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function clean(string $value, bool $allowHTML = false): ?string
1818
return $value === '' ? null : $value;
1919
}
2020

21-
function html(string $tagName, array $attributes, string $content = null): string
21+
function html(string $tagName, array $attributes, ?string $content = null): string
2222
{
2323
$html = "<{$tagName}";
2424

0 commit comments

Comments
 (0)