Skip to content

Commit dfa8987

Browse files
committed
Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1: Fix return value in stub file for DOMNodeList::item
2 parents 9ff1ea6 + 761b9a4 commit dfa8987

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

NEWS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ PHP NEWS
1010
and segfaults with replaceWith). (nielsdos)
1111
. Fixed bug GH-10234 (Setting DOMAttr::textContent results in an empty
1212
attribute value). (nielsdos)
13+
. Fix return value in stub file for DOMNodeList::item. (divinity76)
1314

1415
- Opcache:
1516
. Fix allocation loop in zend_shared_alloc_startup(). (nielsdos)

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)