Passed
Push — master ( aa7719...13e0ce )
by Afshin
02:04
created
core/Translator/Translator.php 1 patch
Braces   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -33,10 +33,10 @@  discard block
 block discarded – undo
33 33
             $translationBaseFile = $translationBaseFolder.'/'.$namespace.'.php';
34 34
             if(file_exists($translationBaseFile)){
35 35
                 $lang = include ($translationBaseFile);
36
-            }else{
36
+            } else{
37 37
                 return  $key;
38 38
             }
39
-        }else{
39
+        } else{
40 40
         }
41 41
         $keyArr = explode('.',$key);
42 42
         unset($keyArr[0]);
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
                     str_replace($key,$replace_item,$lang_new);
50 50
                 }
51 51
             }
52
-        }else{
52
+        } else{
53 53
             return $lang_new;
54 54
         }
55 55
     }
Please login to merge, or discard this patch.