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
documentElement on the DOMDocument class can be either DocumentElement|null as noted at https://www.php.net/manual/en/class.domdocument.php
documentElement
DOMDocument
DocumentElement|null
CssToInlineStyles/src/CssToInlineStyles.php
Line 137 in f4f3709
NULL
Argument 1 passed to DOMNode::removeChild() must be an instance of DOMNode, null given
Given valid HTML input, this is noticeable in libxml 2.9.12 due to a bug in libxml https://gitlab.gnome.org/GNOME/libxml2/-/issues/318
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
documentElement
on theDOMDocument
class can be eitherDocumentElement|null
as noted at https://www.php.net/manual/en/class.domdocument.phpCssToInlineStyles/src/CssToInlineStyles.php
Line 137 in f4f3709
documentElement
returnsNULL
resulting in:Argument 1 passed to DOMNode::removeChild() must be an instance of DOMNode, null given
Given valid HTML input, this is noticeable in libxml 2.9.12 due to a bug in libxml https://gitlab.gnome.org/GNOME/libxml2/-/issues/318
The text was updated successfully, but these errors were encountered: