From: jeroendedauw Date: Fri, 28 Jun 2013 21:48:31 +0000 (+0200) Subject: Fix return types in documentation X-Git-Tag: 1.31.0-rc.0~19323^2 X-Git-Url: http://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_vote_add%27%29%20%7D%7D?a=commitdiff_plain;h=9104af80ef1152bacaab2363abe9149264b0ae71;p=lhc%2Fweb%2Fwiklou.git Fix return types in documentation Change-Id: I726e6201a737ab406dd0e46754d2bbbd95e769b4 --- diff --git a/includes/objectcache/ObjectCache.php b/includes/objectcache/ObjectCache.php index f7247f92f5..6c1433a992 100644 --- a/includes/objectcache/ObjectCache.php +++ b/includes/objectcache/ObjectCache.php @@ -34,7 +34,7 @@ class ObjectCache { * * @param $id string * - * @return ObjectCache + * @return BagOStuff */ static function getInstance( $id ) { if ( isset( self::$instances[$id] ) ) { @@ -59,7 +59,7 @@ class ObjectCache { * @param $id string * * @throws MWException - * @return ObjectCache + * @return BagOStuff */ static function newFromId( $id ) { global $wgObjectCaches; @@ -78,7 +78,7 @@ class ObjectCache { * @param $params array * * @throws MWException - * @return ObjectCache + * @return BagOStuff */ static function newFromParams( $params ) { if ( isset( $params['factory'] ) ) { @@ -102,7 +102,7 @@ class ObjectCache { * If no cache choice is configured (by default $wgMainCacheType is CACHE_NONE), * then CACHE_ANYTHING will forward to CACHE_DB. * @param $params array - * @return ObjectCache + * @return BagOStuff */ static function newAnything( $params ) { global $wgMainCacheType, $wgMessageCacheType, $wgParserCacheType; @@ -120,7 +120,7 @@ class ObjectCache { * * @param $params array * @throws MWException - * @return ObjectCache + * @return BagOStuff */ static function newAccelerator( $params ) { if ( function_exists( 'apc_fetch' ) ) {