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:
Nico Oelgart 2024-03-25 08:23:08 +01:00 committed by Ivan Fedorov
parent 7d4fe939ee
commit b0e6812884
1 changed files with 1 additions and 1 deletions

View File

@ -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.
*/