X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Ffilerepo%2FForeignAPIRepo.php;h=7f25a00e77d67e9d40f88ac309c30b4c1c981bd8;hb=5fea642f16cefb08d32d69013b2bc845670f2486;hp=4e48932a19369c0af0c3bbf248929f64e2c4e365;hpb=c2665e4b6e615c80e4126f1ff343e7f9f3018dcc;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/filerepo/ForeignAPIRepo.php b/includes/filerepo/ForeignAPIRepo.php index 4e48932a19..7f25a00e77 100644 --- a/includes/filerepo/ForeignAPIRepo.php +++ b/includes/filerepo/ForeignAPIRepo.php @@ -66,7 +66,7 @@ class ForeignAPIRepo extends FileRepo { private $mQueryCache = array(); /** - * @param $info array|null + * @param array|null $info */ function __construct( $info ) { global $wgLocalFileRepo; @@ -252,8 +252,9 @@ class ForeignAPIRepo extends FileRepo { * @param string $name * @param int $width * @param int $height - * @param null $result + * @param array $result Out parameter that will be changed by the function. * @param string $otherParams + * * @return bool */ function getThumbUrl( $name, $width = -1, $height = -1, &$result = null, $otherParams = '' ) { @@ -318,7 +319,7 @@ class ForeignAPIRepo extends FileRepo { * If the url has been requested today, get it from cache * Otherwise retrieve remote thumb url, check for local file. * - * @param string $name is a dbkey form of a title + * @param string $name Is a dbkey form of a title * @param int $width * @param int $height * @param string $params Other rendering parameters (page number, etc) @@ -417,7 +418,7 @@ class ForeignAPIRepo extends FileRepo { * @see FileRepo::getZoneUrl() * @param string $zone * @param string|null $ext Optional file extension - * @return String + * @return string */ function getZoneUrl( $zone, $ext = null ) { switch ( $zone ) { @@ -500,7 +501,7 @@ class ForeignAPIRepo extends FileRepo { * @param string $url * @param string $timeout * @param array $options - * @return bool|String + * @return bool|string */ public static function httpGet( $url, $timeout = 'default', $options = array() ) { $options['timeout'] = $timeout;