mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
partial revert nullable type for curl_multi_getcontent
Fix https://github.com/vimeo/psalm/issues/8351
Partially reverts f28ac73777
This commit is contained in:
parent
1ef3851580
commit
6e4c1823d6
@ -1678,7 +1678,7 @@ return [
|
||||
'curl_multi_close' => ['void', 'multi_handle'=>'CurlMultiHandle'],
|
||||
'curl_multi_errno' => ['int', 'multi_handle'=>'CurlMultiHandle'],
|
||||
'curl_multi_exec' => ['int', 'multi_handle'=>'CurlMultiHandle', '&w_still_running'=>'int'],
|
||||
'curl_multi_getcontent' => ['?string', 'handle'=>'CurlHandle'],
|
||||
'curl_multi_getcontent' => ['string', 'handle'=>'CurlHandle'],
|
||||
'curl_multi_info_read' => ['array|false', 'multi_handle'=>'CurlMultiHandle', '&w_queued_messages='=>'int'],
|
||||
'curl_multi_init' => ['CurlMultiHandle|false'],
|
||||
'curl_multi_remove_handle' => ['int', 'multi_handle'=>'CurlMultiHandle', 'handle'=>'CurlHandle'],
|
||||
|
@ -282,8 +282,8 @@ return [
|
||||
'new' => ['int', 'multi_handle'=>'CurlMultiHandle', '&w_still_running'=>'int'],
|
||||
],
|
||||
'curl_multi_getcontent' => [
|
||||
'old' => ['?string', 'ch'=>'resource'],
|
||||
'new' => ['?string', 'handle'=>'CurlHandle'],
|
||||
'old' => ['string', 'ch'=>'resource'],
|
||||
'new' => ['string', 'handle'=>'CurlHandle'],
|
||||
],
|
||||
'curl_multi_info_read' => [
|
||||
'old' => ['array|false', 'mh'=>'resource', '&w_msgs_in_queue='=>'int'],
|
||||
|
@ -10135,7 +10135,7 @@ return [
|
||||
'curl_multi_add_handle' => ['int', 'mh'=>'resource', 'ch'=>'resource'],
|
||||
'curl_multi_close' => ['void', 'mh'=>'resource'],
|
||||
'curl_multi_exec' => ['int', 'mh'=>'resource', '&w_still_running'=>'int'],
|
||||
'curl_multi_getcontent' => ['?string', 'ch'=>'resource'],
|
||||
'curl_multi_getcontent' => ['string', 'ch'=>'resource'],
|
||||
'curl_multi_info_read' => ['array|false', 'mh'=>'resource', '&w_msgs_in_queue='=>'int'],
|
||||
'curl_multi_init' => ['resource|false'],
|
||||
'curl_multi_remove_handle' => ['int', 'mh'=>'resource', 'ch'=>'resource'],
|
||||
|
@ -343,6 +343,7 @@ class InternalCallMapHandlerTest extends TestCase
|
||||
'cal_from_jd',
|
||||
'collator_get_strength',
|
||||
'curl_multi_init',
|
||||
'curl_multi_getcontent', // issue #8351
|
||||
'date_add',
|
||||
'date_date_set',
|
||||
'date_diff',
|
||||
|
Loading…
Reference in New Issue
Block a user