From f40838eaaaa095f2e9db4d3a6088267e64956778 Mon Sep 17 00:00:00 2001 From: George Peter Banyard Date: Fri, 8 Jan 2021 03:47:14 +0000 Subject: Rename ``zip_ent`` parameter to ``zip_entry`` for consistency All other functions use ``zip_entry`` --- ext/zip/php_zip.stub.php | 4 ++-- ext/zip/php_zip_arginfo.h | 4 ++-- 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) -- cgit v1.2.1