We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
src/HTML5/Parser/UTF8Utils.php
$data = mb_convert_encoding($data, 'UTF-8', $encoding);
error if $data is null in PHP 8.1 help this:
$data = mb_convert_encoding($data.'', 'UTF-8', $encoding);
The text was updated successfully, but these errors were encountered:
The phpdoc on the method declares the contract as @param string $data. So you should only pass a string.
@param string $data
Btw, this won't trigger an error on PHP 8.1 but only a deprecation warning.
Sorry, something went wrong.
No branches or pull requests
src/HTML5/Parser/UTF8Utils.php
$data = mb_convert_encoding($data, 'UTF-8', $encoding);
error if $data is null in PHP 8.1
help this:
$data = mb_convert_encoding($data.'', 'UTF-8', $encoding);
The text was updated successfully, but these errors were encountered: