1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00

Make file return type more specific

This commit is contained in:
Matthew Brown 2017-02-12 12:22:10 -05:00
parent 2a3c4ee63a
commit b1f7cfb08e

View File

@ -2187,7 +2187,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|false', 'filename'=>'string', 'flags='=>'int', 'context='=>''],
'file' => ['string[]|false', 'filename'=>'string', 'flags='=>'int', 'context='=>''],
'fileatime' => ['int|false', 'filename'=>'string'],
'filectime' => ['int|false', 'filename'=>'string'],
'file_exists' => ['bool', 'filename'=>'string'],