Passed
Push — master ( 79b252...216091 )
by Jean-Christophe
03:27
created
Ajax/Semantic.php 1 patch
Braces   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -37,9 +37,10 @@
 block discarded – undo
37 37
     public function compile($internal = false) {
38 38
         if($this->style!=null){
39 39
             parent::compile($internal);
40
-        }else {
41
-            if ($internal === false && $this->autoCompile === true)
42
-                throw new \Exception("Impossible to compile if autoCompile is set to 'true'");
40
+        } else {
41
+            if ($internal === false && $this->autoCompile === true) {
42
+                            throw new \Exception("Impossible to compile if autoCompile is set to 'true'");
43
+            }
43 44
             $style=$this->style;
44 45
             foreach ($this->components as $component) {
45 46
                 $component->addToProperty("class", $style);
Please login to merge, or discard this patch.