X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=languages%2Fclasses%2FLanguageZh_hans.php;h=75a05fdee558aa91f8c42ef04e203ddd039b0d43;hb=b2f4fd38db7868e7088bc9b59a78a53e445265c7;hp=3851c8fed5e0aa4b0d00633ca5d5ec091a4d6647;hpb=edba2e008c079f4d51abc70f2c98c1dc8009a900;p=lhc%2Fweb%2Fwiklou.git diff --git a/languages/classes/LanguageZh_hans.php b/languages/classes/LanguageZh_hans.php index 3851c8fed5..75a05fdee5 100644 --- a/languages/classes/LanguageZh_hans.php +++ b/languages/classes/LanguageZh_hans.php @@ -26,8 +26,9 @@ * * @ingroup Language */ +// @codingStandardsIgnoreStart Ignore class name is not in camel caps format error class LanguageZh_hans extends Language { - + // @codingStandardsIgnoreEnd /** * @return bool */ @@ -40,7 +41,7 @@ class LanguageZh_hans extends Language { * for now just treat each character as a word. * @todo FIXME: Only do this for Han characters... * - * @param $string string + * @param string $string * * @return string */ @@ -51,18 +52,16 @@ class LanguageZh_hans extends Language { } /** - * @param $s + * @param string $s * @return string */ function normalizeForSearch( $s ) { - wfProfileIn( __METHOD__ ); // Double-width roman characters $s = parent::normalizeForSearch( $s ); $s = trim( $s ); $s = $this->segmentByWord( $s ); - wfProfileOut( __METHOD__ ); return $s; } @@ -71,7 +70,7 @@ class LanguageZh_hans extends Language { * * @since 1.21 * - * @param integer $seconds The amount of seconds. + * @param int $seconds The amount of seconds. * @param array $chosenIntervals The intervals to enable. * * @return string