Passed
Push — main ( b51461...87ea94 )
by Sammy
01:22
created
src/Form.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
         foreach ($list as $value => $label) {
72 72
             $option_attributes = ['value' => $value];
73 73
             if ($selected == $value) {
74
-                $option_attributes['selected'] =  'selected';
74
+                $option_attributes['selected'] = 'selected';
75 75
             }
76 76
 
77 77
             $options .= new Element('option', "$label", $option_attributes);
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
 
83 83
     public static function legend(string $label, array $attributes = []): string
84 84
     {
85
-        return '' . (new Element('legend', $label, $attributes));
85
+        return ''.(new Element('legend', $label, $attributes));
86 86
     }
87 87
 
88 88
     public static function label(string $for, string $label, array $attributes = []): string
@@ -125,6 +125,6 @@  discard block
 block discarded – undo
125 125
             unset($attributes['label']);
126 126
         }
127 127
 
128
-        return $label . (new Element($tag, $content, $attributes));
128
+        return $label.(new Element($tag, $content, $attributes));
129 129
     }
130 130
 }
Please login to merge, or discard this patch.