X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=languages%2FLanguageConverter.php;h=ce35717dc9d81e80b027df33ad42ee83ef1076c2;hb=4b5773a4de8156c026be2aab92e059793d612fdd;hp=f611358d94c09b5e2faa3d91b05b297cfccb397e;hpb=b610a3b617f7616b2f1db12498cbad5aeae12576;p=lhc%2Fweb%2Fwiklou.git diff --git a/languages/LanguageConverter.php b/languages/LanguageConverter.php index f611358d94..ce35717dc9 100644 --- a/languages/LanguageConverter.php +++ b/languages/LanguageConverter.php @@ -224,7 +224,7 @@ class LanguageConverter { /** * Get the variant specified in the URL * - * @return mixed Variant if one found, false otherwise. + * @return mixed Variant if one found, null otherwise */ public function getURLVariant() { global $wgRequest; @@ -247,7 +247,7 @@ class LanguageConverter { /** * Determine if the user has a variant set. * - * @return mixed Variant if one found, false otherwise. + * @return mixed Variant if one found, null otherwise */ protected function getUserVariant() { global $wgUser, $wgContLang; @@ -284,7 +284,7 @@ class LanguageConverter { /** * Determine the language variant from the Accept-Language header. * - * @return mixed Variant if one found, false otherwise. + * @return mixed Variant if one found, null otherwise */ protected function getHeaderVariant() { global $wgRequest; @@ -967,11 +967,11 @@ class LanguageConverter { * Parse the conversion table stored in the cache. * * The tables should be in blocks of the following form: - * -{ - * word => word ; - * word => word ; - * ... - * }- + * -{ + * word => word ; + * word => word ; + * ... + * }- * * To make the tables more manageable, subpages are allowed * and will be parsed recursively if $recursive == true.