summaryrefslogtreecommitdiff
path: root/ext/zip/php_zip.stub.php
diff options
context:
space:
mode:
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) {}