Completed
Pull Request — master (#1140)
by
unknown
02:41
created
src/Widgets/Tab.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,8 +43,9 @@
 block discarded – undo
43 43
             'content' => $content,
44 44
         ];
45 45
 
46
-        if ($active)
47
-            $this->data['active'] = count($this->data['tabs']) - 1;
46
+        if ($active) {
47
+                    $this->data['active'] = count($this->data['tabs']) - 1;
48
+        }
48 49
 
49 50
         return $this;
50 51
     }
Please login to merge, or discard this patch.