diff options
author | Remi Collet <remi@remirepo.net> | 2020-06-05 17:08:21 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2020-06-05 17:10:12 +0200 |
commit | eae3bda9e368c94c7ed4a28b394348c9a3ee4bd4 (patch) | |
tree | cc13a1ed686d3c46473c9b974b8695837b328178 /ext/zip/php_zip.stub.php | |
parent | 8d2c7efbc0299e699718b94ba9c3a5d8e2525ef2 (diff) | |
download | php-git-eae3bda9e368c94c7ed4a28b394348c9a3ee4bd4.tar.gz |
encode param is optional
Diffstat (limited to 'ext/zip/php_zip.stub.php')
-rw-r--r-- | ext/zip/php_zip.stub.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/zip/php_zip.stub.php b/ext/zip/php_zip.stub.php index da8e37393f..f85464abe1 100644 --- a/ext/zip/php_zip.stub.php +++ b/ext/zip/php_zip.stub.php @@ -194,9 +194,9 @@ class ZipArchive #ifdef HAVE_METHOD_SUPPORTED /** @return bool */ - public static function isCompressionMethodSupported(int $method, bool $enc): bool {} + public static function isCompressionMethodSupported(int $method, bool $enc = true): bool {} /** @return bool */ - public static function isEncryptionMethodSupported(int $method, bool $enc): bool {} + public static function isEncryptionMethodSupported(int $method, bool $enc = true): bool {} #endif } |