Fix DOMNodeList::item() return type
Adjusted return type as per the official documentation: https://www.php.net/manual/en/domnodelist.item.php
This commit is contained in:
parent
7d4fe939ee
commit
b0e6812884
|
@ -1320,7 +1320,7 @@ class DOMNodeList implements IteratorAggregate, Countable
|
|||
* Index of the node into the collection.
|
||||
* The range of valid child node indices is 0 to length - 1 inclusive.
|
||||
* </p>
|
||||
* @return DOMNode|null The node at the indexth position in the
|
||||
* @return DOMElement|DOMNode|DOMNameSpaceNode|null The node at the indexth position in the
|
||||
* DOMNodeList, or null if that is not a valid
|
||||
* index.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue