summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Peter Banyard <girgias@php.net>2021-01-08 03:47:14 +0000
committerGeorge Peter Banyard <girgias@php.net>2021-01-08 22:26:24 +0000
commitf40838eaaaa095f2e9db4d3a6088267e64956778 (patch)
treea182d8eb70cdb7920a5daeaedadda701fa4e7496
parent8ae02c8a9588b36e93da3ba88d32956323fc30d4 (diff)
downloadphp-git-f40838eaaaa095f2e9db4d3a6088267e64956778.tar.gz
Rename ``zip_ent`` parameter to ``zip_entry`` for consistency
All other functions use ``zip_entry``
-rw-r--r--ext/zip/php_zip.stub.php4
-rw-r--r--ext/zip/php_zip_arginfo.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/ext/zip/php_zip.stub.php b/ext/zip/php_zip.stub.php
index ddda62d6b0..5ae4731ae2 100644
--- a/ext/zip/php_zip.stub.php
+++ b/ext/zip/php_zip.stub.php
@@ -29,10 +29,10 @@ function zip_read($zip) {}
function zip_entry_open($zip_dp, $zip_entry, string $mode = "rb"): bool {}
/**
- * @param resource $zip_ent
+ * @param resource $zip_entry
* @deprecated
*/
-function zip_entry_close($zip_ent): bool {}
+function zip_entry_close($zip_entry): bool {}
/**
* @param resource $zip_entry
diff --git a/ext/zip/php_zip_arginfo.h b/ext/zip/php_zip_arginfo.h
index 87212a4975..ba72e52aa8 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: 8994595a1c86072629e051291e87cc5e1774eb7f */
+ * Stub hash: 095084d2a2df557398191af5dd6c8bea6bb7c338 */
ZEND_BEGIN_ARG_INFO_EX(arginfo_zip_open, 0, 0, 1)
ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
@@ -20,7 +20,7 @@ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_zip_entry_open, 0, 2, _IS_BOOL,
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_zip_entry_close, 0, 1, _IS_BOOL, 0)
- ZEND_ARG_INFO(0, zip_ent)
+ ZEND_ARG_INFO(0, zip_entry)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_zip_entry_read, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)