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

Fix resource signatures

This commit is contained in:
Matt Brown 2017-08-18 16:51:34 -04:00
parent c626b7d68a
commit 9a036cb4ab

View File

@ -2252,8 +2252,8 @@ return [
'fpassthru' => ['int', 'fp'=>'resource'],
'fprintf' => ['int', 'stream'=>'resource', 'format'=>'string', 'arg1='=>'', '...='=>''],
'fputcsv' => ['int', 'fp'=>'resource', 'fields'=>'array', 'delimiter='=>'string', 'enclosure='=>'string', 'escape_char='=>'string'],
'fputs' => ['int', 'fp'=>'resource', 'str'=>'string', 'length='=>'int'],
'fread' => ['string', 'fp'=>'resource', 'length'=>'int'],
'fputs' => ['int|false', 'fp'=>'resource', 'str'=>'string', 'length='=>'int'],
'fread' => ['string|false', 'fp'=>'resource', 'length'=>'int'],
'frenchtojd' => ['int', 'month'=>'int', 'day'=>'int', 'year'=>'int'],
'fribidi_log2vis' => ['string', 'str'=>'string', 'direction'=>'string', 'charset'=>'int'],
'fscanf' => ['array|int', 'stream'=>'resource', 'format'=>'string', '&...vars='=>'string|int|float'],
@ -8178,7 +8178,7 @@ return [
'socket_set_option' => ['bool', 'socket'=>'', 'level'=>'int', 'optname'=>'int', 'optval'=>'int|array'],
'socket_shutdown' => ['bool', 'socket'=>'', 'how='=>'int'],
'socket_strerror' => ['string', 'errno'=>'int'],
'socket_write' => ['int', 'socket'=>'', 'buf'=>'string', 'length='=>'int'],
'socket_write' => ['int|false', 'socket'=>'', 'buf'=>'string', 'length='=>'int'],
'solid_fetch_prev' => ['bool', 'result_id'=>''],
'SolrClient::addDocuments' => ['', 'docs'=>'array', 'allowdups='=>'bool', 'commitwithin='=>'int'],
'SolrClient::addDocument' => ['SolrUpdateResponse', 'doc'=>'solrinputdocument', 'allowdups='=>'bool', 'commitwithin='=>'int'],