]> granicus.if.org Git - php/commitdiff
Rename ``zip_ent`` parameter to ``zip_entry`` for consistency
authorGeorge Peter Banyard <girgias@php.net>
Fri, 8 Jan 2021 03:47:14 +0000 (03:47 +0000)
committerGeorge Peter Banyard <girgias@php.net>
Fri, 8 Jan 2021 22:26:24 +0000 (22:26 +0000)
All other functions use ``zip_entry``

ext/zip/php_zip.stub.php
ext/zip/php_zip_arginfo.h

index ddda62d6b03b93de8a3fc452c83cbcebc499710c..5ae4731ae25d5ca57ac06ae36a7643c2405175eb 100644 (file)
@@ -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
index 87212a4975133652da3bb050da48c119c2d62d83..ba72e52aa8b6b48ef0ad61b4adf0c319fbb73072 100644 (file)
@@ -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)