Skip to content

Commit f90962d

Browse files
committed
Merge branch 'PHP-8.2'
* PHP-8.2: Fix return value in stub file for DOMNodeList::item
2 parents b495a91 + dfa8987 commit f90962d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/dom/php_dom.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ public function count(): int {}
467467

468468
public function getIterator(): Iterator {}
469469

470-
/** @return DOMNode|DOMNameSpaceNode|null */
470+
/** @return DOMElement|DOMNode|DOMNameSpaceNode|null */
471471
public function item(int $index) {}
472472
}
473473

ext/dom/php_dom_arginfo.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)