diff --git a/ext/dom/php_dom.stub.php b/ext/dom/php_dom.stub.php index 0161c868a31..24c24ce019c 100644 --- a/ext/dom/php_dom.stub.php +++ b/ext/dom/php_dom.stub.php @@ -677,4 +677,4 @@ class DOMXPath } #endif -function dom_import_simplexml(object $node): ?DOMElement {} +function dom_import_simplexml(object $node): DOMElement {} diff --git a/ext/dom/php_dom_arginfo.h b/ext/dom/php_dom_arginfo.h index 39897902caf..90ad40f6d2e 100644 --- a/ext/dom/php_dom_arginfo.h +++ b/ext/dom/php_dom_arginfo.h @@ -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()