From f3cc77aaeeb4f3a93fde7de80dbaafd89f6bd2bf Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Thu, 9 Feb 2012 17:41:50 +0000 Subject: Fixing some of the "@return true" or "@return false", need to be "@return bool" and then the metadata can say true if foo, false if bar Other documentation improvements --- includes/parser/ParserCache.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'includes/parser/ParserCache.php') diff --git a/includes/parser/ParserCache.php b/includes/parser/ParserCache.php index 8b0432904e87..64a1aa0f8ed1 100644 --- a/includes/parser/ParserCache.php +++ b/includes/parser/ParserCache.php @@ -88,7 +88,7 @@ class ParserCache { * Retrieve the ParserOutput from ParserCache, even if it's outdated. * @param $article Article * @param $popts ParserOptions - * @return ParserOutput|false + * @return ParserOutput|bool */ public function getDirty( $article, $popts ) { $value = $this->get( $article, $popts, true ); @@ -143,7 +143,7 @@ class ParserCache { * @param $popts ParserOptions * @param $useOutdated * - * @return ParserOutput|false + * @return ParserOutput|bool */ public function get( $article, $popts, $useOutdated = false ) { global $wgCacheEpoch; -- cgit v1.2.3