@@ -14,10 +14,10 @@ public function bar()
14
14
assertType ('mixed ' , CURL_GETINFO ());
15
15
assertType ('mixed ' , CuRl_GeTiNfO ());
16
16
assertType ('false ' , curl_getinfo ($ handle , 'Invalid Argument ' ));
17
- assertType ('(array{url: string, content_type: string|null, http_code: int, header_size: int, request_size: int, filetime: int, ssl_verify_result: int, redirect_count: int, total_time: float, namelookup_time: float, connect_time: float, pretransfer_time: float, size_upload: float, size_download: float, speed_download: float, speed_upload: float, download_content_length: float, upload_content_length: float, starttransfer_time: float, redirect_time: float, redirect_url: string, primary_ip: string, certinfo: array<int, string>, primary_port: int, local_ip: string, local_port: int, http_version: int, protocol: int, ssl_verifyresult: int, scheme: string}|false) ' , curl_getinfo ($ handle , PHP_INT_MAX ));
18
- assertType ('(array{url: string, content_type: string|null, http_code: int, header_size: int, request_size: int, filetime: int, ssl_verify_result: int, redirect_count: int, total_time: float, namelookup_time: float, connect_time: float, pretransfer_time: float, size_upload: float, size_download: float, speed_download: float, speed_upload: float, download_content_length: float, upload_content_length: float, starttransfer_time: float, redirect_time: float, redirect_url: string, primary_ip: string, certinfo: array<int, string>, primary_port: int, local_ip: string, local_port: int, http_version: int, protocol: int, ssl_verifyresult: int, scheme: string}|false) ' , curl_getinfo ($ handle , PHP_EOL ));
19
- assertType ('(array{url: string, content_type: string|null, http_code: int, header_size: int, request_size: int, filetime: int, ssl_verify_result: int, redirect_count: int, total_time: float, namelookup_time: float, connect_time: float, pretransfer_time: float, size_upload: float, size_download: float, speed_download: float, speed_upload: float, download_content_length: float, upload_content_length: float, starttransfer_time: float, redirect_time: float, redirect_url: string, primary_ip: string, certinfo: array<int, string>, primary_port: int, local_ip: string, local_port: int, http_version: int, protocol: int, ssl_verifyresult: int, scheme: string}|false) ' , curl_getinfo ($ handle ));
20
- assertType ('(array{url: string, content_type: string|null, http_code: int, header_size: int, request_size: int, filetime: int, ssl_verify_result: int, redirect_count: int, total_time: float, namelookup_time: float, connect_time: float, pretransfer_time: float, size_upload: float, size_download: float, speed_download: float, speed_upload: float, download_content_length: float, upload_content_length: float, starttransfer_time: float, redirect_time: float, redirect_url: string, primary_ip: string, certinfo: array<int, string>, primary_port: int, local_ip: string, local_port: int, http_version: int, protocol: int, ssl_verifyresult: int, scheme: string}|false) ' , curl_getinfo ($ handle , null ));
17
+ assertType ('(array{url: string, content_type: string|null, http_code: int, header_size: int, request_size: int, filetime: int, ssl_verify_result: int, redirect_count: int, total_time: float, namelookup_time: float, connect_time: float, pretransfer_time: float, size_upload: float, size_download: float, speed_download: float, speed_upload: float, download_content_length: float, upload_content_length: float, starttransfer_time: float, redirect_time: float, redirect_url: string, primary_ip: string, certinfo: array<int, array< string, string> >, primary_port: int, local_ip: string, local_port: int, http_version: int, protocol: int, ssl_verifyresult: int, scheme: string}|false) ' , curl_getinfo ($ handle , PHP_INT_MAX ));
18
+ assertType ('(array{url: string, content_type: string|null, http_code: int, header_size: int, request_size: int, filetime: int, ssl_verify_result: int, redirect_count: int, total_time: float, namelookup_time: float, connect_time: float, pretransfer_time: float, size_upload: float, size_download: float, speed_download: float, speed_upload: float, download_content_length: float, upload_content_length: float, starttransfer_time: float, redirect_time: float, redirect_url: string, primary_ip: string, certinfo: array<int, array< string, string> >, primary_port: int, local_ip: string, local_port: int, http_version: int, protocol: int, ssl_verifyresult: int, scheme: string}|false) ' , curl_getinfo ($ handle , PHP_EOL ));
19
+ assertType ('(array{url: string, content_type: string|null, http_code: int, header_size: int, request_size: int, filetime: int, ssl_verify_result: int, redirect_count: int, total_time: float, namelookup_time: float, connect_time: float, pretransfer_time: float, size_upload: float, size_download: float, speed_download: float, speed_upload: float, download_content_length: float, upload_content_length: float, starttransfer_time: float, redirect_time: float, redirect_url: string, primary_ip: string, certinfo: array<int, array< string, string> >, primary_port: int, local_ip: string, local_port: int, http_version: int, protocol: int, ssl_verifyresult: int, scheme: string}|false) ' , curl_getinfo ($ handle ));
20
+ assertType ('(array{url: string, content_type: string|null, http_code: int, header_size: int, request_size: int, filetime: int, ssl_verify_result: int, redirect_count: int, total_time: float, namelookup_time: float, connect_time: float, pretransfer_time: float, size_upload: float, size_download: float, speed_download: float, speed_upload: float, download_content_length: float, upload_content_length: float, starttransfer_time: float, redirect_time: float, redirect_url: string, primary_ip: string, certinfo: array<int, array< string, string> >, primary_port: int, local_ip: string, local_port: int, http_version: int, protocol: int, ssl_verifyresult: int, scheme: string}|false) ' , curl_getinfo ($ handle , null ));
21
21
assertType ('string ' , curl_getinfo ($ handle , CURLINFO_EFFECTIVE_URL ));
22
22
assertType ('string ' , curl_getinfo ($ handle , 1048577 )); // CURLINFO_EFFECTIVE_URL int value without using constant
23
23
assertType ('false ' , curl_getinfo ($ handle , 12345678 )); // Non constant non CURLINFO_* int value
@@ -56,7 +56,7 @@ public function bar()
56
56
assertType ('array<int, string> ' , curl_getinfo ($ handle , CURLINFO_COOKIELIST ));
57
57
assertType ('string|false ' , curl_getinfo ($ handle , CURLINFO_FTP_ENTRY_PATH ));
58
58
assertType ('float ' , curl_getinfo ($ handle , CURLINFO_APPCONNECT_TIME ));
59
- assertType ('array<int, array<int , string>> ' , curl_getinfo ($ handle , CURLINFO_CERTINFO ));
59
+ assertType ('array<int, array<string , string>> ' , curl_getinfo ($ handle , CURLINFO_CERTINFO ));
60
60
assertType ('int ' , curl_getinfo ($ handle , CURLINFO_CONDITION_UNMET ));
61
61
assertType ('int ' , curl_getinfo ($ handle , CURLINFO_RTSP_CLIENT_CSEQ ));
62
62
assertType ('int ' , curl_getinfo ($ handle , CURLINFO_RTSP_CSEQ_RECV ));
0 commit comments