Merge "Resources: Consistently use base paths without trailing '/'"
[lhc/web/wiklou.git] / languages / classes / LanguageSl.php
index 77957b2..25fc963 100644 (file)
@@ -32,8 +32,8 @@ class LanguageSl extends Language {
        /**
         * Cases: rodilnik, dajalnik, tožilnik, mestnik, orodnik
         *
-        * @param $word string
-        * @param $case string
+        * @param string $word
+        * @param string $case
         *
         * @return string
         */
@@ -45,12 +45,15 @@ class LanguageSl extends Language {
 
                switch ( $case ) {
                        case 'mestnik': # locative
-                               $word = 'o ' . $word; break;
+                               $word = 'o ' . $word;
+                               break;
                        case 'orodnik': # instrumental
                                $word = 'z ' . $word;
+                               break;
                }
 
-               return $word; # this will return the original value for 'imenovalnik' (nominativ) and all undefined case values
+               # this will return the original value for 'imenovalnik' (nominativ) and
+               # all undefined case values.
+               return $word;
        }
-
 }