diff options
author | Sam Reed <reedy@users.mediawiki.org> | 2012-02-09 17:41:50 +0000 |
---|---|---|
committer | Sam Reed <reedy@users.mediawiki.org> | 2012-02-09 17:41:50 +0000 |
commit | f3cc77aaeeb4f3a93fde7de80dbaafd89f6bd2bf (patch) | |
tree | 334257e53cddc371dab4ca057fed3571e670eb75 /includes/parser/ParserCache.php | |
parent | 20dba09fac9ad7715184eae8e2e3b2244258e6be (diff) | |
download | mediawikicore-f3cc77aaeeb4f3a93fde7de80dbaafd89f6bd2bf.tar.gz mediawikicore-f3cc77aaeeb4f3a93fde7de80dbaafd89f6bd2bf.zip |
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
Notes
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/111048
Diffstat (limited to 'includes/parser/ParserCache.php')
-rw-r--r-- | includes/parser/ParserCache.php | 4 |
1 files changed, 2 insertions, 2 deletions
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; |