diff options
author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-04-12 00:25:33 +0200 |
---|---|---|
committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-04-12 00:25:33 +0200 |
commit | e088836bbc755a2bb1d827d4de6206222b0ca792 (patch) | |
tree | 6c60f726e5b31a8af5a95fece56346daed1d19cc /ext/phar | |
parent | 047d8147047b319feca477ff4ba28ca5a2426a05 (diff) | |
download | php-git-e088836bbc755a2bb1d827d4de6206222b0ca792.tar.gz |
Fix nullable types in PHPDoc
Diffstat (limited to 'ext/phar')
-rw-r--r-- | ext/phar/phar_object.stub.php | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/ext/phar/phar_object.stub.php b/ext/phar/phar_object.stub.php index af7d57cabc..80a9128f11 100644 --- a/ext/phar/phar_object.stub.php +++ b/ext/phar/phar_object.stub.php @@ -27,16 +27,16 @@ class Phar extends RecursiveDirectoryIterator implements Countable, ArrayAccess /** @return bool */ public function decompressFiles() {} - /** @return ?Phar */ + /** @return Phar|null */ public function compress(int $compression_type, string $file_ext = UNKNOWN) {} - /** @return ?Phar */ + /** @return Phar|null */ public function decompress(string $file_ext = UNKNOWN) {} - /** @return ?Phar */ + /** @return Phar|null */ public function convertToExecutable(int $format = 9021976, int $compression_type = 9021976, string $file_ext = UNKNOWN) {} - /** @return ?Phar */ + /** @return Phar|null */ public function convertToData(int $format = 9021976, int $compression_type = 9021976, string $file_ext = UNKNOWN) {} /** @return bool */ @@ -54,7 +54,7 @@ class Phar extends RecursiveDirectoryIterator implements Countable, ArrayAccess /** @return bool */ public function extractTo(string $pathto, $files = null, bool $overwrite = false) {} - /** @return ?string */ + /** @return string|null */ public function getAlias() {} /** @return string */ @@ -204,16 +204,16 @@ class PharData extends RecursiveDirectoryIterator implements Countable, ArrayAcc /** @return bool */ public function decompressFiles() {} - /** @return ?Phar */ + /** @return Phar|null */ public function compress(int $compression_type, string $file_ext = UNKNOWN) {} - /** @return ?Phar */ + /** @return Phar|null */ public function decompress(string $file_ext = UNKNOWN) {} - /** @return ?Phar */ + /** @return Phar|null */ public function convertToExecutable(int $format = 9021976, int $compression_type = 9021976, string $file_ext = UNKNOWN) {} - /** @return ?Phar */ + /** @return Phar|null */ public function convertToData(int $format = 9021976, int $compression_type = 9021976, string $file_ext = UNKNOWN) {} /** @return bool */ @@ -231,7 +231,7 @@ class PharData extends RecursiveDirectoryIterator implements Countable, ArrayAcc /** @return bool */ public function extractTo(string $pathto, $files = null, bool $overwrite = false) {} - /** @return ?string */ + /** @return string|null */ public function getAlias() {} /** @return string */ |