summaryrefslogtreecommitdiff
path: root/ext/zip/php_zip.stub.php
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-08-24 20:42:29 +0200
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-09-02 11:11:38 +0200
commit3e800e997bddc29cd28924c44846f7d2133a8933 (patch)
treee650686b950164531a16af82642dd52b826fb1d3 /ext/zip/php_zip.stub.php
parentddc2a2d381843e086fc36388981d0b8ba1ea789d (diff)
downloadphp-git-3e800e997bddc29cd28924c44846f7d2133a8933.tar.gz
Move custom type checks to ZPP
Closes GH-6034
Diffstat (limited to 'ext/zip/php_zip.stub.php')
-rw-r--r--ext/zip/php_zip.stub.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/ext/zip/php_zip.stub.php b/ext/zip/php_zip.stub.php
index 01f055f0ab..cde266261d 100644
--- a/ext/zip/php_zip.stub.php
+++ b/ext/zip/php_zip.stub.php
@@ -161,11 +161,8 @@ class ZipArchive
/** @return bool */
public function unchangeName(string $name) {}
- /**
- * @param array|string|null $files
- * @return bool
- */
- public function extractTo(string $pathto, $files = null) {}
+ /** @return bool */
+ public function extractTo(string $pathto, array|string|null $files = null) {}
/** @return string|false */
public function getFromName(string $entryname, int $len = 0, int $flags = 0) {}