Merge "Added missing GPLv2 headers in some places."
[lhc/web/wiklou.git] / languages / classes / LanguageZh_hans.php
index 137f094..671a16e 100644 (file)
@@ -6,6 +6,10 @@
  * @ingroup Language
  */
 class LanguageZh_hans extends Language {
+
+       /**
+        * @return bool
+        */
        function hasWordBreaks() {
                return false;
        }
@@ -14,6 +18,10 @@ class LanguageZh_hans extends Language {
         * Eventually this should be a word segmentation;
         * for now just treat each character as a word.
         * @todo FIXME: Only do this for Han characters...
+        *
+        * @param $string string
+        *
+        * @return string
         */
        function segmentByWord( $string ) {
                $reg = "/([\\xc0-\\xff][\\x80-\\xbf]*)/";
@@ -21,6 +29,10 @@ class LanguageZh_hans extends Language {
                return $s;
        }
 
+       /**
+        * @param $s
+        * @return string
+        */
        function normalizeForSearch( $s ) {
                wfProfileIn( __METHOD__ );