Test Failed
Push — ft/elements ( 383c8a )
by Ben
10:58
created
src/FormGroups/FormGroup.php 1 patch
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,8 +54,12 @@
 block discarded – undo
54 54
     {
55 55
         $formGroup = new static(new Fields([$field]));
56 56
 
57
-        if($field->getLabel()) $formGroup->label($field->getLabel());
58
-        if($field->getDescription()) $formGroup->description($field->getDescription());
57
+        if($field->getLabel()) {
58
+            $formGroup->label($field->getLabel());
59
+        }
60
+        if($field->getDescription()) {
61
+            $formGroup->description($field->getDescription());
62
+        }
59 63
         $formGroup->markAsRequired($field->required());
60 64
 
61 65
         return $formGroup;
Please login to merge, or discard this patch.