From: Sam Reed Date: Wed, 2 Mar 2011 13:07:15 +0000 (+0000) Subject: Fix typo in @param comment X-Git-Tag: 1.31.0-rc.0~31691 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/?a=commitdiff_plain;h=fbe8a15c319cbb7ec9f0a91cfcf354c242556eaa;p=lhc%2Fweb%2Fwiklou.git Fix typo in @param comment Add type to CookieJar Define $result before loop --- diff --git a/includes/HttpFunctions.php b/includes/HttpFunctions.php index 0197402af3..3b08cfd57a 100644 --- a/includes/HttpFunctions.php +++ b/includes/HttpFunctions.php @@ -158,6 +158,9 @@ class MWHttpRequest { protected $maxRedirects = 5; protected $followRedirects = false; + /** + * @var CookieJar + */ protected $cookieJar; protected $headerList = array(); @@ -984,6 +987,8 @@ class PhpHttpRequest extends MWHttpRequest { $reqCount = 0; $url = $this->url; + $result = array(); + do { $reqCount++; wfSuppressWarnings(); diff --git a/includes/api/ApiQueryExtLinksUsage.php b/includes/api/ApiQueryExtLinksUsage.php index 210eca9440..07d5b1bb30 100644 --- a/includes/api/ApiQueryExtLinksUsage.php +++ b/includes/api/ApiQueryExtLinksUsage.php @@ -51,7 +51,7 @@ class ApiQueryExtLinksUsage extends ApiQueryGeneratorBase { } /** - * @para $resultPageSet ApiPageSet + * @param $resultPageSet ApiPageSet * @return void */ private function run( $resultPageSet = null ) {