It seems like array("<!-- generator='j...EOL, '</sitemapindex>') of type array<integer,string,{"0":"string","1":"string"}> is incompatible with the declared type object<DOMElement> of property $root.
Our type inference engine has found an assignment to a property that is incompatible
with the declared type of that property.
Either this assignment is in error or the assigned type should be added
to the documentation/type hint for that property..
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..