mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
Fix fopen
This commit is contained in:
parent
02ef33c4ac
commit
31763b3628
@ -3313,7 +3313,7 @@ return [
|
|||||||
'flush' => ['void'],
|
'flush' => ['void'],
|
||||||
'fmod' => ['float', 'num1'=>'float', 'num2'=>'float'],
|
'fmod' => ['float', 'num1'=>'float', 'num2'=>'float'],
|
||||||
'fnmatch' => ['bool', 'pattern'=>'string', 'filename'=>'string', 'flags='=>'int'],
|
'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' => ['mixed|false', 'callback'=>'callable', '...args='=>'mixed'],
|
||||||
'forward_static_call_array' => ['mixed|false', 'callback'=>'callable', 'args'=>'list<mixed>'],
|
'forward_static_call_array' => ['mixed|false', 'callback'=>'callable', 'args'=>'list<mixed>'],
|
||||||
'fpassthru' => ['int|false', 'stream'=>'resource'],
|
'fpassthru' => ['int|false', 'stream'=>'resource'],
|
||||||
|
@ -10878,7 +10878,7 @@ return [
|
|||||||
'flush' => ['void'],
|
'flush' => ['void'],
|
||||||
'fmod' => ['float', 'num1'=>'float', 'num2'=>'float'],
|
'fmod' => ['float', 'num1'=>'float', 'num2'=>'float'],
|
||||||
'fnmatch' => ['bool', 'pattern'=>'string', 'filename'=>'string', 'flags='=>'int'],
|
'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' => ['mixed|false', 'callback'=>'callable', '...args='=>'mixed'],
|
||||||
'forward_static_call_array' => ['mixed|false', 'callback'=>'callable', 'args'=>'list<mixed>'],
|
'forward_static_call_array' => ['mixed|false', 'callback'=>'callable', 'args'=>'list<mixed>'],
|
||||||
'fpassthru' => ['int|false', 'stream'=>'resource'],
|
'fpassthru' => ['int|false', 'stream'=>'resource'],
|
||||||
|
Loading…
Reference in New Issue
Block a user