Skip to content

Commit 4997d9b

Browse files
authored
Revert JetBrains#1741 - \DOMElement::$attributes is never null
See phpstan/phpstan#13076
1 parent 0dd2098 commit 4997d9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dom/dom_c.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1720,7 +1720,7 @@ class DOMElement extends DOMNode implements DOMParentNode, DOMChildNode
17201720
public $nextSibling;
17211721

17221722
/**
1723-
* @var DOMNamedNodeMap<DOMAttr>|null
1723+
* @var DOMNamedNodeMap<DOMAttr>
17241724
* A <classname>DOMNamedNodeMap</classname> containing the attributes of this node (if it is a <classname>DOMElement</classname>) or NULL otherwise.
17251725
* @link https://php.net/manual/en/class.domnode.php#domnode.props.attributes
17261726
*/

0 commit comments

Comments
 (0)