Merge pull request #503 from smoench/patch-1

DOMNodeList::item() returns DOMNode instead of DOMElement
This commit is contained in:
andrey-sokolov 2019-02-18 15:44:28 +03:00 committed by GitHub
commit 87a531acc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1147,7 +1147,7 @@ class DOMNodeList implements Traversable, Countable {
* @param int $index <p>
* Index of the node into the collection.
* </p>
* @return DOMElement The node at the indexth position in the
* @return DOMNode|null The node at the indexth position in the
* DOMNodeList, or &null; if that is not a valid
* index.
* @since 5.0