diff --git a/src/Psalm/CallMap.php b/src/Psalm/CallMap.php index 44b5880e8..1db230cd1 100644 --- a/src/Psalm/CallMap.php +++ b/src/Psalm/CallMap.php @@ -2136,7 +2136,7 @@ return [ 'fgetcsv' => ['array|false|null', 'fp'=>'', 'length='=>'int', 'delimiter='=>'string', 'enclosure='=>'string', 'escape='=>'string'], 'fgetss' => ['string|false', 'fp'=>'', 'length='=>'int', 'allowable_tags='=>'string'], 'fgets' => ['string|false', 'fp'=>'', 'length='=>'int'], -'file' => ['array|file', 'filename'=>'string', 'flags='=>'int', 'context='=>''], +'file' => ['array|false', 'filename'=>'string', 'flags='=>'int', 'context='=>''], 'fileatime' => ['int|false', 'filename'=>'string'], 'filectime' => ['int|false', 'filename'=>'string'], 'file_exists' => ['bool', 'filename'=>'string'],