Merge "Revert "Add type hint against LinkTarget""
[lhc/web/wiklou.git] / languages / classes / LanguageHy.php
index 7cedcc5..f6d5270 100644 (file)
@@ -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 ) {