Skip to content

Commit

Permalink
partial revert nullable type for curl_multi_getcontent
Browse files Browse the repository at this point in the history
Fix #8351

Partially reverts f28ac73
  • Loading branch information
kkmuffme committed Sep 8, 2022
1 parent 1ef3851 commit 6e4c182
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dictionaries/CallMap.php
Expand Up @@ -1678,7 +1678,7 @@
'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'],
Expand Down
4 changes: 2 additions & 2 deletions dictionaries/CallMap_80_delta.php
Expand Up @@ -282,8 +282,8 @@
'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'],
Expand Down
2 changes: 1 addition & 1 deletion dictionaries/CallMap_historical.php
Expand Up @@ -10135,7 +10135,7 @@
'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'],
Expand Down
1 change: 1 addition & 0 deletions tests/Internal/Codebase/InternalCallMapHandlerTest.php
Expand Up @@ -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',
Expand Down

0 comments on commit 6e4c182

Please sign in to comment.