summaryrefslogtreecommitdiff
path: root/ext/zip/php_zip.stub.php
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-08-07 21:50:02 +0200
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-08-13 14:47:18 +0200
commit2803c8fb8dafea651e13bb28da753cbbf7458792 (patch)
treea7c4f1c0d83327a649b778ed931407c2b2161b1b /ext/zip/php_zip.stub.php
parentf3d6203b0b83d2167f083616caf462eda1231d8f (diff)
downloadphp-git-2803c8fb8dafea651e13bb28da753cbbf7458792.tar.gz
Add all the missing parameter types to stubs
Closes GH-5955
Diffstat (limited to 'ext/zip/php_zip.stub.php')
-rw-r--r--ext/zip/php_zip.stub.php12
1 files changed, 10 insertions, 2 deletions
diff --git a/ext/zip/php_zip.stub.php b/ext/zip/php_zip.stub.php
index 4d9ba27f86..01f055f0ab 100644
--- a/ext/zip/php_zip.stub.php
+++ b/ext/zip/php_zip.stub.php
@@ -183,10 +183,18 @@ class ZipArchive
/** @return bool */
public function setExternalAttributesIndex(int $index, int $opsys, int $attr, int $flags = 0) {}
- /** @return bool */
+ /**
+ * @param int $opsys
+ * @param int $attr
+ * @return bool
+ */
public function getExternalAttributesName(string $name, &$opsys, &$attr, int $flags = 0) {}
- /** @return bool */
+ /**
+ * @param int $opsys
+ * @param int $attr
+ * @return bool
+ */
public function getExternalAttributesIndex(int $index, &$opsys, &$attr, int $flags = 0) {}
#endif