Can you change this type to `{DOMElement|DOMDocument}`