summaryrefslogtreecommitdiff
path: root/ext/zip/php_zip.stub.php
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.stub.php
parent4222ae16e7848e0b3f062a9a989d387de307a7af (diff)
downloadphp-git-dafc72cb33ea677cd0b3caffc8fe7bf510a4bf7c.tar.gz
for consistency use for all *Name methods
Diffstat (limited to 'ext/zip/php_zip.stub.php')
-rw-r--r--ext/zip/php_zip.stub.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/zip/php_zip.stub.php b/ext/zip/php_zip.stub.php
index 7da7bfea39..9a276a05df 100644
--- a/ext/zip/php_zip.stub.php
+++ b/ext/zip/php_zip.stub.php
@@ -138,13 +138,13 @@ class ZipArchive
public function deleteName(string $name) {}
/** @return array|false */
- public function statName(string $filename, int $flags = 0) {}
+ public function statName(string $name, int $flags = 0) {}
/** @return array|false */
public function statIndex(int $index, int $flags = 0) {}
/** @return int|false */
- public function locateName(string $filename, int $flags = 0) {}
+ public function locateName(string $name, int $flags = 0) {}
/** @return string|false */
public function getNameIndex(int $index, int $flags = 0) {}
@@ -165,13 +165,13 @@ class ZipArchive
public function extractTo(string $pathto, array|string|null $files = null) {}
/** @return string|false */
- public function getFromName(string $entryname, int $len = 0, int $flags = 0) {}
+ public function getFromName(string $name, int $len = 0, int $flags = 0) {}
/** @return string|false */
public function getFromIndex(int $index, int $len = 0, int $flags = 0) {}
/** @return resource|false */
- public function getStream(string $entryname) {}
+ public function getStream(string $name) {}
#ifdef ZIP_OPSYS_DEFAULT
/** @return bool */