diff options
author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-08-24 20:42:29 +0200 |
---|---|---|
committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-09-02 11:11:38 +0200 |
commit | 3e800e997bddc29cd28924c44846f7d2133a8933 (patch) | |
tree | e650686b950164531a16af82642dd52b826fb1d3 /ext/zip/php_zip.stub.php | |
parent | ddc2a2d381843e086fc36388981d0b8ba1ea789d (diff) | |
download | php-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.php | 7 |
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) {} |