### Bug report In 2.1.17 the type of `DOMElement::$attributes` was `(DOMNamedNodeMap&iterable<DOMAttr>)|null`. Since 2.1.18 it is stubbed to `DOMNamedNodeMap`. ### Code snippet that reproduces the problem https://phpstan.org/r/84b90d2f-3b20-490c-aa01-ce0f34ee8fb0 ### Expected output No errors. ### Did PHPStan help you today? Did it make you happy in any way? _No response_