summaryrefslogtreecommitdiff
path: root/ext/zip/php_zip_arginfo.h
diff options
context:
space:
mode:
authorRemi Collet <remi@php.net>2020-09-23 09:31:44 +0200
committerRemi Collet <remi@php.net>2020-09-23 09:31:44 +0200
commitdafc72cb33ea677cd0b3caffc8fe7bf510a4bf7c (patch)
tree93cca3932c9e9c8491351e7ddc5c1340e41f0b45 /ext/zip/php_zip_arginfo.h
parent4222ae16e7848e0b3f062a9a989d387de307a7af (diff)
downloadphp-git-dafc72cb33ea677cd0b3caffc8fe7bf510a4bf7c.tar.gz
for consistency use for all *Name methods
Diffstat (limited to 'ext/zip/php_zip_arginfo.h')
-rw-r--r--ext/zip/php_zip_arginfo.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/ext/zip/php_zip_arginfo.h b/ext/zip/php_zip_arginfo.h
index 6274f6afef..a4167fa8ca 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: 58d4035ad8d21582e93091d5c14f78640c1a17c3 */
+ * Stub hash: 4ca2b108e71924309abcdc1a0f86f5963a8516f3 */
ZEND_BEGIN_ARG_INFO_EX(arginfo_zip_open, 0, 0, 1)
ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
@@ -157,11 +157,11 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ZipArchive_deleteName, 0, 0, 1)
ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
ZEND_END_ARG_INFO()
-#define arginfo_class_ZipArchive_statName arginfo_class_ZipArchive_open
+#define arginfo_class_ZipArchive_statName arginfo_class_ZipArchive_getCommentName
#define arginfo_class_ZipArchive_statIndex arginfo_class_ZipArchive_getCommentIndex
-#define arginfo_class_ZipArchive_locateName arginfo_class_ZipArchive_open
+#define arginfo_class_ZipArchive_locateName arginfo_class_ZipArchive_getCommentName
#define arginfo_class_ZipArchive_getNameIndex arginfo_class_ZipArchive_getCommentIndex
@@ -179,7 +179,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ZipArchive_extractTo, 0, 0, 1)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ZipArchive_getFromName, 0, 0, 1)
- ZEND_ARG_TYPE_INFO(0, entryname, IS_STRING, 0)
+ ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, len, IS_LONG, 0, "0")
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, flags, IS_LONG, 0, "0")
ZEND_END_ARG_INFO()
@@ -190,9 +190,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ZipArchive_getFromIndex, 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, entryname, IS_STRING, 0)
-ZEND_END_ARG_INFO()
+#define arginfo_class_ZipArchive_getStream arginfo_class_ZipArchive_deleteName
#if defined(ZIP_OPSYS_DEFAULT)
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ZipArchive_setExternalAttributesName, 0, 0, 3)