mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
Allow fsockopen to return false, fixes #353
This commit is contained in:
parent
495252494f
commit
681da41f0f
@ -2279,7 +2279,7 @@ return [
|
||||
'fribidi_log2vis' => ['string', 'str'=>'string', 'direction'=>'string', 'charset'=>'int'],
|
||||
'fscanf' => ['array|int', 'stream'=>'resource', 'format'=>'string', '&...w_vars='=>'string|int|float'],
|
||||
'fseek' => ['int', 'fp'=>'resource', 'offset'=>'int', 'whence='=>'int'],
|
||||
'fsockopen' => ['resource', 'hostname'=>'string', 'port='=>'int', '&w_errno='=>'int', '&w_errstr='=>'string', 'timeout='=>'float'],
|
||||
'fsockopen' => ['resource|false', 'hostname'=>'string', 'port='=>'int', '&w_errno='=>'int', '&w_errstr='=>'string', 'timeout='=>'float'],
|
||||
'fstat' => ['array', 'fp'=>'resource'],
|
||||
'ftell' => ['int', 'fp'=>'resource'],
|
||||
'ftok' => ['int', 'pathname'=>'string', 'proj'=>'string'],
|
||||
|
Loading…
Reference in New Issue
Block a user