1
0
Fork 1

Correct string to nullable type

pull/28/head
gravel 1 year ago
parent cf8368d8d4
commit 3f57b93d5b
Signed by: gravel
SSH Key Fingerprint: SHA256:p4HP49CCk4YQMkJpWJ09L8peEPQWjERtdCRAFxPfbOY

@ -120,7 +120,7 @@
}
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
) {
if ($str == "") {