1
0
mirror of https://github.com/php/php-src.git synced 2026-04-06 23:53:30 +02:00

Merge branch 'PHP-8.1' into PHP-8.2

* PHP-8.1:
  Fix return value in stub file for DOMNodeList::item
This commit is contained in:
Niels Dossche
2023-05-29 18:50:54 +02:00
3 changed files with 3 additions and 2 deletions

1
NEWS
View File

@@ -10,6 +10,7 @@ PHP NEWS
and segfaults with replaceWith). (nielsdos)
. Fixed bug GH-10234 (Setting DOMAttr::textContent results in an empty
attribute value). (nielsdos)
. Fix return value in stub file for DOMNodeList::item. (divinity76)
- Opcache:
. Fix allocation loop in zend_shared_alloc_startup(). (nielsdos)

View File

@@ -467,7 +467,7 @@ class DOMNodeList implements IteratorAggregate, Countable
public function getIterator(): Iterator {}
/** @return DOMNode|DOMNameSpaceNode|null */
/** @return DOMElement|DOMNode|DOMNameSpaceNode|null */
public function item(int $index) {}
}

View File

@@ -1,5 +1,5 @@
/* This is a generated file, edit the .stub.php file instead.
* Stub hash: 8365be2868e4932ea74f8eb2d4ce840117d48deb */
* Stub hash: 4570a3d2e6a74946b0f12353b1136922a2e77072 */
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_dom_import_simplexml, 0, 1, DOMElement, 0)
ZEND_ARG_TYPE_INFO(0, node, IS_OBJECT, 0)