diff --git a/ext/zend_test/test_arginfo.h b/ext/zend_test/test_arginfo.h index e1f9b72e7d4..3add1d7b38e 100644 --- a/ext/zend_test/test_arginfo.h +++ b/ext/zend_test/test_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 91ffc3205c6ac7b07953c9446e9cb9988d893dd4 */ + * Stub hash: f5566ec4bffa9878e1c5eaba0c2ceeff4435c8d3 */ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_zend_test_array_return, 0, 0, IS_ARRAY, 0) ZEND_END_ARG_INFO() diff --git a/ext/zip/php_zip.stub.php b/ext/zip/php_zip.stub.php index 2eee6bdef59..4338e519bda 100644 --- a/ext/zip/php_zip.stub.php +++ b/ext/zip/php_zip.stub.php @@ -195,7 +195,7 @@ class ZipArchive implements Countable * @return resource|false * @alias ZipArchive::getStreamName */ - public function getStream(string $name) {} + public function getStream(string $name, int $flags = 0) {} #ifdef ZIP_OPSYS_DEFAULT /** @tentative-return-type */ diff --git a/ext/zip/php_zip_arginfo.h b/ext/zip/php_zip_arginfo.h index bb6f1b532f4..16d3ba746a6 100644 --- a/ext/zip/php_zip_arginfo.h +++ b/ext/zip/php_zip_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 214a5d606d5535032251a41d4fa18f47d93ec42e */ + * Stub hash: 1c1e7e6e4a9790706f2330f5e4e7e263dc5440e3 */ ZEND_BEGIN_ARG_INFO_EX(arginfo_zip_open, 0, 0, 1) ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0) @@ -214,9 +214,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ZipArchive_getStreamName, 0, 0, 1) ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "0") ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ZipArchive_getStream, 0, 0, 1) - ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0) -ZEND_END_ARG_INFO() +#define arginfo_class_ZipArchive_getStream arginfo_class_ZipArchive_getStreamName #if defined(ZIP_OPSYS_DEFAULT) ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_ZipArchive_setExternalAttributesName, 0, 3, _IS_BOOL, 0)