You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Psalm output (using commit 03ee02c):
ERROR: NullableReturnStatement - 11:12 - The declared return type 'DOMNode' for test is not nullable, but the function returns 'DOMNode|null'
ERROR: InvalidNullableReturnType - 3:30 - The declared return type 'DOMNode' for test is not nullable, but 'DOMNode|null' contains null
https://psalm.dev/r/01eac6a01b
When
DOMDocument
methodsload
,loadXML
,loadHTML
,loadHTMLFile
returntrue
DOMDocument
must have at least one node.The text was updated successfully, but these errors were encountered: