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/fileinfo/fileinfo.stub.php | |
parent | 047d8147047b319feca477ff4ba28ca5a2426a05 (diff) | |
download | php-git-e088836bbc755a2bb1d827d4de6206222b0ca792.tar.gz |
Fix nullable types in PHPDoc
Diffstat (limited to 'ext/fileinfo/fileinfo.stub.php')
-rw-r--r-- | ext/fileinfo/fileinfo.stub.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/fileinfo/fileinfo.stub.php b/ext/fileinfo/fileinfo.stub.php index 262ff2e4dd..a951e573dc 100644 --- a/ext/fileinfo/fileinfo.stub.php +++ b/ext/fileinfo/fileinfo.stub.php @@ -8,14 +8,14 @@ class finfo public function __construct(int $options = FILEINFO_NONE, string $arg = "") {} /** - * @param ?resource $context + * @param resource|null $context * @return string|false * @alias finfo_file */ public function file(string $file_name, int $options = FILEINFO_NONE, $context = null) {} /** - * @param ?resource $context + * @param resource|null $context * @return string|false * @alias finfo_buffer */ @@ -43,13 +43,13 @@ function finfo_set_flags($finfo, int $options): bool {} /** * @param resource $finfo - * @param ?resource $context + * @param resource|null $context */ function finfo_file($finfo, string $file_name, int $options = FILEINFO_NONE, $context = null): string|false {} /** * @param resource $finfo - * @param ?resource $context + * @param resource|null $context */ function finfo_buffer($finfo, string $string, int $options = FILEINFO_NONE, $context = null): string|false {} |