@@ -51,7 +51,7 @@ |
||
51 | 51 | { |
52 | 52 | $basicLookupDir = $this->pathLib->getDocumentRoot() . $this->pathLib->getPathToSystemRoot(); |
53 | 53 | foreach ($this->pathMasks as $pathMask) { |
54 | - $unmasked = sprintf( $pathMask, |
|
54 | + $unmasked = sprintf($pathMask, |
|
55 | 55 | DIRECTORY_SEPARATOR, $basicLookupDir, |
56 | 56 | IPaths::DIR_USER, $this->pathLib->getUser(), |
57 | 57 | IPaths::DIR_MODULE, $module, |
@@ -23,7 +23,7 @@ |
||
23 | 23 | && !empty($array->offsetGet(static::LANG_KEY)) |
24 | 24 | && is_string($array->offsetGet(static::LANG_KEY)) |
25 | 25 | ? $array->offsetGet(static::LANG_KEY) |
26 | - : $defaultLang ; |
|
26 | + : $defaultLang; |
|
27 | 27 | } |
28 | 28 | |
29 | 29 | public static function setToArray(ArrayAccess $array, string $lang): void |
@@ -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 |