Skip to content

Commit 56e4916

Browse files
authored
Update type of property DOMElement::$attributes in attribute
1 parent 6f7b5bd commit 56e4916

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
@@ -1724,7 +1724,7 @@ class DOMElement extends DOMNode implements DOMParentNode, DOMChildNode
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
*/
1727-
#[LanguageLevelTypeAware(['8.1' => 'DOMNamedNodeMap'], default: '')]
1727+
#[LanguageLevelTypeAware(['8.1' => 'DOMNamedNodeMap|null'], default: '')]
17281728
public $attributes;
17291729

17301730
/**

0 commit comments

Comments
 (0)