@@ -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 | |
@@ -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, |