From 3e800e997bddc29cd28924c44846f7d2133a8933 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Kocsis?= Date: Mon, 24 Aug 2020 20:42:29 +0200 Subject: Move custom type checks to ZPP Closes GH-6034 --- ext/zip/php_zip.stub.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'ext/zip/php_zip.stub.php') 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) {} -- cgit v1.2.1