summaryrefslogtreecommitdiff
path: root/ext/phar/phar_object.stub.php
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-10-08 17:04:48 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-10-08 17:05:38 +0200
commitad7e231e81a9ee27217bae977e5c847254df5b60 (patch)
tree394705fabcaa497a47c6e06c63a2c3a022a8e137 /ext/phar/phar_object.stub.php
parentc4a25da096611360a862791ea1c323bad3270ec1 (diff)
downloadphp-git-ad7e231e81a9ee27217bae977e5c847254df5b60.tar.gz
Make compression_type nullable in a few more places
Missed that this was also used elsewhere...
Diffstat (limited to 'ext/phar/phar_object.stub.php')
-rw-r--r--ext/phar/phar_object.stub.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/phar/phar_object.stub.php b/ext/phar/phar_object.stub.php
index a79cc14a64..7eee345b63 100644
--- a/ext/phar/phar_object.stub.php
+++ b/ext/phar/phar_object.stub.php
@@ -245,13 +245,13 @@ class PharData extends RecursiveDirectoryIterator implements Countable, ArrayAcc
* @return Phar|null
* @implementation-alias Phar::convertToExecutable
*/
- public function convertToExecutable(int $format = 9021976, int $compression_type = 9021976, ?string $file_ext = null) {}
+ public function convertToExecutable(?int $format = null, ?int $compression_type = null, ?string $file_ext = null) {}
/**
* @return Phar|null
* @implementation-alias Phar::convertToData
*/
- public function convertToData(int $format = 9021976, int $compression_type = 9021976, ?string $file_ext = null) {}
+ public function convertToData(?int $format = null, ?int $compression_type = null, ?string $file_ext = null) {}
/**
* @return bool
@@ -513,7 +513,7 @@ class PharFileInfo extends SplFileInfo
public function hasMetadata() {}
/** @return bool */
- public function isCompressed(int $compression_type = 9021976) {}
+ public function isCompressed(?int $compression_type = null) {}
/** @return bool */
public function isCRCChecked() {}