@@ -153,8 +153,7 @@ discard block |
||
153 | 153 | } |
154 | 154 | |
155 | 155 | return isset($this->i18n[$lang][$file][$key]) ? |
156 | - $this->i18n[$lang][$file][$key] : |
|
157 | - $fileKey |
|
156 | + $this->i18n[$lang][$file][$key] : $fileKey |
|
158 | 157 | ; |
159 | 158 | } |
160 | 159 | |
@@ -171,7 +170,7 @@ discard block |
||
171 | 170 | $definition = explode('.', $key); |
172 | 171 | $item = isset($config[$definition[0]]) ? $config[$definition[0]] : null; |
173 | 172 | |
174 | - $numberOfDefinitions = count($definition); |
|
173 | + $numberOfDefinitions = count($definition); |
|
175 | 174 | |
176 | 175 | for ($i = 1; $i < $numberOfDefinitions; ++$i) { |
177 | 176 | $item = isset($item[$definition[$i]]) ? $item[$definition[$i]] : null; |