X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fhttp%2FCurlHttpRequest.php;h=3da3eb325c77916729882aa222530d85af835a81;hb=89539f2aa1b158fdcc703ad053e2580cb97a6385;hp=7fd3e835c423b88f729d4128bf3343b27ef9aaef;hpb=8dfae8aecebbce32861aaf74133baeaee24e56e0;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/http/CurlHttpRequest.php b/includes/http/CurlHttpRequest.php index 7fd3e835c4..3da3eb325c 100644 --- a/includes/http/CurlHttpRequest.php +++ b/includes/http/CurlHttpRequest.php @@ -37,6 +37,12 @@ class CurlHttpRequest extends MWHttpRequest { return strlen( $content ); } + /** + * @see MWHttpRequest::execute + * + * @throws MWException + * @return Status + */ public function execute() { $this->prepare(); @@ -139,7 +145,7 @@ class CurlHttpRequest extends MWHttpRequest { $this->parseHeader(); $this->setStatus(); - return Status::wrap( $this->status ); // TODO B/C; move this to callers + return Status::wrap( $this->status ); // TODO B/C; move this to callers } /**