X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FHttpFunctions.php;h=e621f625aca13cf07bf3d8d93add51d1a4a465ac;hb=c2b3c1cf671d360910b6234da481c230bbe2a730;hp=8453e62cc95a4e8732fb6a971a25a7e84063e715;hpb=101866ac3c69378f0bea79c7b9b87939422d6443;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/HttpFunctions.php b/includes/HttpFunctions.php index 8453e62cc9..e621f625ac 100644 --- a/includes/HttpFunctions.php +++ b/includes/HttpFunctions.php @@ -265,6 +265,7 @@ class MWHttpRequest { * Generate a new request object * @param $url String: url to use * @param $options Array: (optional) extra params to pass (see Http::request()) + * @throws MWException * @return CurlHttpRequest|PhpHttpRequest * @see MWHttpRequest::__construct */ @@ -393,6 +394,7 @@ class MWHttpRequest { * will be aborted. * * @param $callback Callback + * @throws MWException */ public function setCallback( $callback ) { if ( !is_callable( $callback ) ) { @@ -579,8 +581,8 @@ class MWHttpRequest { } /** - * Sets a cookie. Used before a request to set up any individual - * cookies. Used internally after a request to parse the + * Sets a cookie. Used before a request to set up any individual + * cookies. Used internally after a request to parse the * Set-Cookie headers. * @see Cookie::set * @param $name