Merge "Remove fix for a 5.3 problem"
[lhc/web/wiklou.git] / languages / classes / LanguageHy.php
index 2406829..f6d5270 100644 (file)
@@ -33,8 +33,8 @@ class LanguageHy extends Language {
         * Convert from the nominative form of a noun to some other case
         * Invoked with {{grammar:case|word}}
         *
-        * @param $word string
-        * @param $case string
+        * @param string $word
+        * @param string $case
         * @return string
         */
        function convertGrammar( $word, $case ) {
@@ -47,7 +47,7 @@ class LanguageHy extends Language {
                # matter if they are wrong sometimes. Just add a special case for your site name if necessary.
 
                # join and array_slice instead mb_substr
-               $ar = array();
+               $ar = [];
                preg_match_all( '/./us', $word, $ar );
                if ( !preg_match( "/[a-zA-Z_]/us", $word ) ) {
                        switch ( $case ) {
@@ -68,10 +68,10 @@ class LanguageHy extends Language {
                                case 'accusative': # Հայցական հոլով
                                        # stub
                                        break;
-                               case 'instrumental':  #
+                               case 'instrumental':
                                        # stub
                                        break;
-                               case 'prepositional': #
+                               case 'prepositional':
                                        # stub
                                        break;
                        }
@@ -82,7 +82,7 @@ class LanguageHy extends Language {
        /**
         * Armenian numeric format is "12 345,67" but "1234,56"
         *
-        * @param $_ string
+        * @param string $_
         *
         * @return string
         */