1
0
mirror of https://github.com/php/php-src.git synced 2026-04-02 13:43:02 +02:00

Merge branch 'PHP-8.0'

* PHP-8.0:
  dom_import_simplexml() cannot return null
This commit is contained in:
Nikita Popov
2021-07-21 11:14:03 +02:00
2 changed files with 3 additions and 3 deletions

View File

@@ -677,4 +677,4 @@ class DOMXPath
}
#endif
function dom_import_simplexml(object $node): ?DOMElement {}
function dom_import_simplexml(object $node): DOMElement {}

View File

@@ -1,7 +1,7 @@
/* This is a generated file, edit the .stub.php file instead.
* Stub hash: 2931a77f1b3b92494ce05cf44c2175dfae5f777f */
* Stub hash: 1dc4b6f71305437dcf86435bc1f72cb05aafd17d */
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_dom_import_simplexml, 0, 1, DOMElement, 1)
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)
ZEND_END_ARG_INFO()