1
0
Fork 1

Correct string to nullable type

remotes/1715175271555336803/main
gravel 3 years ago
parent 12dc5ffb36
commit 03dff719ae
Signed by: gravel
GPG Key ID: C0538F3C906B308F

@ -120,7 +120,7 @@
} }
function html_sanitize( function html_sanitize(
string $str, int $flags = ENT_QUOTES|ENT_SUBSTITUTE, ?string $str, int $flags = ENT_QUOTES|ENT_SUBSTITUTE,
?string $encoding = null, bool $double_encode = true ?string $encoding = null, bool $double_encode = true
) { ) {
if ($str == "") { if ($str == "") {