diff --git a/src/functions.php b/src/functions.php index bd35a016..c3313a6a 100644 --- a/src/functions.php +++ b/src/functions.php @@ -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}";