Content: Deprecate and stop using getHighlightHtml()
[lhc/web/wiklou.git] / includes / filerepo / ForeignAPIRepo.php
index 4e48932..7f25a00 100644 (file)
@@ -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;