Skip to content

Commit

Permalink
Merge pull request #548 from lekoala/patch-1
Browse files Browse the repository at this point in the history
fix php 8.4 deprecation message
  • Loading branch information
oscarotero authored Nov 21, 2024
2 parents ec7a635 + de81db8 commit 463692d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function clean(string $value, bool $allowHTML = false): ?string
return $value === '' ? null : $value;
}

function html(string $tagName, array $attributes, string $content = null): string
function html(string $tagName, array $attributes, ?string $content = null): string
{
$html = "<{$tagName}";

Expand Down

0 comments on commit 463692d

Please sign in to comment.