Passed
Push — master ( 85b4ce...18c191 )
by Afshin
02:38
created
core/Translator/Translator.php 1 patch
Braces   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -34,11 +34,11 @@  discard block
 block discarded – undo
34 34
             $translationBaseFile = $translationBaseFolder.'/'.$namespace.'.php';
35 35
             if(file_exists($translationBaseFile)){
36 36
                 $lang= include_once ($translationBaseFile);
37
-            }else{
37
+            } else{
38 38
                 return $lang[$group] = $key;
39 39
 
40 40
             }
41
-        }else{
41
+        } else{
42 42
         }
43 43
 
44 44
         if(count($replace) > 0){
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
                     str_replace($key,$replace_item,$lang[$group]);
48 48
                 }
49 49
             }
50
-        }else{
50
+        } else{
51 51
             return $lang[$group];
52 52
         }
53 53
     }
Please login to merge, or discard this patch.