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/Namespace.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/Namespace.php')
-rw-r--r-- | includes/Namespace.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/Namespace.php b/includes/Namespace.php index 292559d0f2e3..e536d8b0f15e 100644 --- a/includes/Namespace.php +++ b/includes/Namespace.php @@ -33,7 +33,7 @@ class MWNamespace { * @param $index * @param $method * - * @return true + * @return bool */ private static function isMethodValidFor( $index, $method ) { if ( $index < NS_MAIN ) { |