@@ -62,7 +62,7 @@ |
||
62 | 62 | */ |
63 | 63 | public static function get(string $key, ...$pass): string |
64 | 64 | { |
65 | - $content = (isset(static::$translations[$key])) ? static::$translations[$key] : $key ; |
|
65 | + $content = (isset(static::$translations[$key])) ? static::$translations[$key] : $key; |
|
66 | 66 | return strval(empty($pass) ? $content : call_user_func_array('sprintf', array_merge([$content], $pass))); |
67 | 67 | } |
68 | 68 |
@@ -55,7 +55,7 @@ |
||
55 | 55 | { |
56 | 56 | $basicLookupDir = $this->pathLib->getDocumentRoot() . $this->pathLib->getPathToSystemRoot(); |
57 | 57 | foreach ($this->pathMasks as $pathMask) { |
58 | - $unmasked = sprintf( $pathMask, |
|
58 | + $unmasked = sprintf($pathMask, |
|
59 | 59 | DIRECTORY_SEPARATOR, $basicLookupDir, |
60 | 60 | IPaths::DIR_USER, $this->routedLib->getUser(), |
61 | 61 | IPaths::DIR_MODULE, $module, |
@@ -27,7 +27,7 @@ |
||
27 | 27 | && !empty($array->offsetGet(static::LANG_KEY)) |
28 | 28 | && is_string($array->offsetGet(static::LANG_KEY)) |
29 | 29 | ? $array->offsetGet(static::LANG_KEY) |
30 | - : $defaultLang ; |
|
30 | + : $defaultLang; |
|
31 | 31 | } |
32 | 32 | |
33 | 33 | /** |