X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=blobdiff_plain;f=includes%2Fhttp%2FHttpRequestFactory.php;h=8433df6e0890cedc2f1385c44aaf3151326e2846;hb=28d9e60182f33c507147f48b15566c653b890a3c;hp=8e5567b00183a0ae817ab5f096a925b114b4339a;hpb=f0483a7ab66c816a1275da7e32da74281352b25b;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/http/HttpRequestFactory.php b/includes/http/HttpRequestFactory.php index 8e5567b001..8433df6e08 100644 --- a/includes/http/HttpRequestFactory.php +++ b/includes/http/HttpRequestFactory.php @@ -58,10 +58,14 @@ class HttpRequestFactory { * - password Password for HTTP Basic Authentication * - originalRequest Information about the original request (as a WebRequest object or * an associative array with 'ip' and 'userAgent'). + * @codingStandardsIgnoreStart + * @phan-param array{timeout?:int,connectTimeout?:int,postData?:array,proxy?:string,noProxy?:bool,sslVerifyHost?:bool,sslVerifyCert?:bool,caInfo?:string,maxRedirects?:int,followRedirects?:bool,userAgent?:string,logger?:\Psr\Logger\LoggerInterface,username?:string,password?:string,originalRequest?:WebRequest|array{ip:string,userAgent:string}} $options + * @codingStandardsIgnoreEnd * @param string $caller The method making this request, for profiling * @throws RuntimeException * @return MWHttpRequest * @see MWHttpRequest::__construct + * @suppress PhanUndeclaredTypeParameter */ public function create( $url, array $options = [], $caller = __METHOD__ ) { if ( !Http::$httpEngine ) {