Merge "Fix return type documentation for getCacheTTL()"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Sat, 10 May 2014 20:14:38 +0000 (20:14 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Sat, 10 May 2014 20:14:38 +0000 (20:14 +0000)
includes/MagicWord.php

index 56786f1..4781667 100644 (file)
@@ -270,7 +270,7 @@ class MagicWord {
         * Allow external reads of TTL array
         *
         * @param int $id
-        * @return array
+        * @return int
         */
        static function getCacheTTL( $id ) {
                if ( array_key_exists( $id, self::$mCacheTTLs ) ) {