diff options
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 } |