summaryrefslogtreecommitdiff
path: root/ext/zip/php_zip.stub.php
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-05-06 09:26:48 +0200
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-05-06 19:22:52 +0200
commitbce8c8fb272c6f0a84a1aa87d6dd0e7d6e28b6b3 (patch)
tree4ded635fc8d744d9776d6fa6f19ebbb519602fb1 /ext/zip/php_zip.stub.php
parent650da66e2dbd5e20f956c225b4a5d423fb18ccbe (diff)
downloadphp-git-bce8c8fb272c6f0a84a1aa87d6dd0e7d6e28b6b3.tar.gz
Promote warning to exception in ZipArchive::extractTo()
Closes GH-5516
Diffstat (limited to 'ext/zip/php_zip.stub.php')
-rw-r--r--ext/zip/php_zip.stub.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/zip/php_zip.stub.php b/ext/zip/php_zip.stub.php
index e7aabe2c6c..0cb0597ece 100644
--- a/ext/zip/php_zip.stub.php
+++ b/ext/zip/php_zip.stub.php
@@ -137,7 +137,10 @@ class ZipArchive
/** @return bool */
public function unchangeName(string $name) {}
- /** @return bool */
+ /**
+ * @param array|string|null $files
+ * @return bool
+ */
public function extractTo(string $pathto, $files = null) {}
/** @return string|false */