From 5199bd7f840e1df7fd35b20c1da6d27c87052d12 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Wed, 9 Nov 2011 22:35:31 +0000 Subject: [PATCH] Fixed misleading getItem() comments...things like arrays or FileDependency objects and what not can be returned --- includes/LocalisationCache.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/LocalisationCache.php b/includes/LocalisationCache.php index aaa0245e48..ad707dc18a 100644 --- a/includes/LocalisationCache.php +++ b/includes/LocalisationCache.php @@ -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] ); -- 2.20.1