Passed
Push — master ( 2aef24...cbfe11 )
by Jean-Christophe
13:11
created
Ajax/Semantic.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -11,8 +11,8 @@  discard block
 block discarded – undo
11 11
 use Ajax\semantic\traits\SemanticWidgetsTrait;
12 12
 
13 13
 class Semantic extends BaseGui {
14
-    use SemanticComponentsTrait,SemanticHtmlElementsTrait,SemanticHtmlCollectionsTrait,
15
-        SemanticHtmlModulesTrait,SemanticHtmlViewsTrait,SemanticWidgetsTrait;
14
+    use SemanticComponentsTrait, SemanticHtmlElementsTrait, SemanticHtmlCollectionsTrait,
15
+        SemanticHtmlModulesTrait, SemanticHtmlViewsTrait, SemanticWidgetsTrait;
16 16
 
17 17
     private $language;
18 18
 
@@ -20,12 +20,12 @@  discard block
 block discarded – undo
20 20
         parent::__construct($autoCompile);
21 21
     }
22 22
 
23
-    public function setLanguage($language){
24
-        if($language!==$this->language){
23
+    public function setLanguage($language) {
24
+        if ($language!==$this->language) {
25 25
             $file=\realpath(dirname(__FILE__)."/semantic/components/validation/languages/".$language.".js");
26
-            if(\file_exists($file)){
26
+            if (\file_exists($file)) {
27 27
                 $script=\file_get_contents($file);
28
-                $this->js->exec($script,true);
28
+                $this->js->exec($script, true);
29 29
                 $this->language=$language;
30 30
             }
31 31
         }
Please login to merge, or discard this patch.