diff --git a/ext/xmlreader/php_xmlreader.stub.php b/ext/xmlreader/php_xmlreader.stub.php index ed4cc393e27..26cbf69a2f0 100644 --- a/ext/xmlreader/php_xmlreader.stub.php +++ b/ext/xmlreader/php_xmlreader.stub.php @@ -149,8 +149,8 @@ class XMLReader public string $xmlLang; - /** @return bool */ - public function close() {} // TODO make the return type void + /** @return true */ + public function close() {} // TODO make return type void /** @tentative-return-type */ public function getAttribute(string $name): ?string {} diff --git a/ext/xmlreader/php_xmlreader_arginfo.h b/ext/xmlreader/php_xmlreader_arginfo.h index c80006570cc..7556579d0ee 100644 --- a/ext/xmlreader/php_xmlreader_arginfo.h +++ b/ext/xmlreader/php_xmlreader_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 0102030bdd0ca8806bbd881ed3f6788d4b18c462 */ + * Stub hash: 4751b68b857ffbf53cab6d1aa88fe8f6120d4fc6 */ ZEND_BEGIN_ARG_INFO_EX(arginfo_class_XMLReader_close, 0, 0, 0) ZEND_END_ARG_INFO() diff --git a/ext/xsl/php_xsl.stub.php b/ext/xsl/php_xsl.stub.php index 140c498523b..52300c019ec 100644 --- a/ext/xsl/php_xsl.stub.php +++ b/ext/xsl/php_xsl.stub.php @@ -110,8 +110,8 @@ class XSLTProcessor /** @tentative-return-type */ public function registerPHPFunctions(array|string|null $functions = null): void {} - /** @return bool */ - public function setProfiling(?string $filename) {} // TODO make the return type void + /** @return true */ + public function setProfiling(?string $filename) {} // TODO make return type void /** @tentative-return-type */ public function setSecurityPrefs(int $preferences): int {} diff --git a/ext/xsl/php_xsl_arginfo.h b/ext/xsl/php_xsl_arginfo.h index 546dc3229ef..aabf6629cc1 100644 --- a/ext/xsl/php_xsl_arginfo.h +++ b/ext/xsl/php_xsl_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: a0615bef7b2211570d9da95a31857832a06360dd */ + * Stub hash: 7d747e7b5989c18169e67d9a9d70256583fffd8e */ ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_XSLTProcessor_importStylesheet, 0, 1, _IS_BOOL, 0) ZEND_ARG_TYPE_INFO(0, stylesheet, IS_OBJECT, 0)