Fixed misleading getItem() comments...things like arrays or FileDependency objects...
authorAaron Schulz <aaron@users.mediawiki.org>
Wed, 9 Nov 2011 22:35:31 +0000 (22:35 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Wed, 9 Nov 2011 22:35:31 +0000 (22:35 +0000)
includes/LocalisationCache.php

index aaa0245..ad707dc 100644 (file)
@@ -215,7 +215,7 @@ class LocalisationCache {
         * need to fetch all of the subitems from the cache individually.
         * @param $code
         * @param $key
-        * @return string
+        * @return mixed
         */
        public function getItem( $code, $key ) {
                if ( !isset( $this->loadedItems[$code][$key] ) ) {
@@ -1137,7 +1137,7 @@ class LocalisationCache_BulkLoad extends LocalisationCache {
        /**
         * @param $code
         * @param $key
-        * @return string
+        * @return mixed
         */
        public function getItem( $code, $key ) {
                unset( $this->mruLangs[$code] );