Completed
Push — master ( c61dde...010af7 )
by Diego
02:25
created
src/Controller.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -153,8 +153,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.