From d8b5f703b1acaa117d76a0a5c28bf85d89282add Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Mon, 5 Mar 2012 00:05:31 +0000 Subject: [PATCH] Fix missing * from start of comment block Also minor documentation update --- languages/Language.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/languages/Language.php b/languages/Language.php index 4cfee5b9dd..ce552e5d82 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -678,8 +678,7 @@ class Language { return self::fetchLanguageNames( $code, 'all' ); } - - /* + /** * Get an array of language names, indexed by code. * @param $inLanguage null|string: Code of language in which to return the names * Use null for autonyms (native names) @@ -687,7 +686,7 @@ class Language { * 'all' all available languages * 'mw' only if the language is defined in MediaWiki or wgExtraLanguageNames * 'mwfile' only if the language is in 'mw' *and* has a message file - * @return array|false: language code => language name, false if $include is wrong + * @return array|bool: language code => language name, false if $include is wrong */ public static function fetchLanguageNames( $inLanguage = null, $include = 'all' ) { global $wgExtraLanguageNames; -- 2.20.1