mirror of
https://github.com/danog/psalm.git
synced 2024-12-12 01:09:38 +01:00
Merge pull request #6557 from vjik/fix
Allow `null` for argument `context` in `fopen()`
This commit is contained in:
commit
10f1af1af0
@ -3313,7 +3313,7 @@ return [
|
||||
'flush' => ['void'],
|
||||
'fmod' => ['float', 'num1'=>'float', 'num2'=>'float'],
|
||||
'fnmatch' => ['bool', 'pattern'=>'string', 'filename'=>'string', 'flags='=>'int'],
|
||||
'fopen' => ['resource|false', 'filename'=>'string', 'mode'=>'string', 'use_include_path='=>'bool', 'context='=>'resource'],
|
||||
'fopen' => ['resource|false', 'filename'=>'string', 'mode'=>'string', 'use_include_path='=>'bool', 'context='=>'resource|null'],
|
||||
'forward_static_call' => ['mixed|false', 'callback'=>'callable', '...args='=>'mixed'],
|
||||
'forward_static_call_array' => ['mixed|false', 'callback'=>'callable', 'args'=>'list<mixed>'],
|
||||
'fpassthru' => ['int|false', 'stream'=>'resource'],
|
||||
|
@ -10878,7 +10878,7 @@ return [
|
||||
'flush' => ['void'],
|
||||
'fmod' => ['float', 'num1'=>'float', 'num2'=>'float'],
|
||||
'fnmatch' => ['bool', 'pattern'=>'string', 'filename'=>'string', 'flags='=>'int'],
|
||||
'fopen' => ['resource|false', 'filename'=>'string', 'mode'=>'string', 'use_include_path='=>'bool', 'context='=>'resource'],
|
||||
'fopen' => ['resource|false', 'filename'=>'string', 'mode'=>'string', 'use_include_path='=>'bool', 'context='=>'resource|null'],
|
||||
'forward_static_call' => ['mixed|false', 'callback'=>'callable', '...args='=>'mixed'],
|
||||
'forward_static_call_array' => ['mixed|false', 'callback'=>'callable', 'args'=>'list<mixed>'],
|
||||
'fpassthru' => ['int|false', 'stream'=>'resource'],
|
||||
|
Loading…
Reference in New Issue
Block a user