Passed
Push — main ( afde82...f0e9e1 )
by Sammy
13:11 queued 06:12
created
src/Form.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
         foreach ($list as $value => $label) {
109 109
             $option_attributes = ['value' => $value];
110 110
             if ($selected == $value) {
111
-                $option_attributes['selected'] =  'selected';
111
+                $option_attributes['selected'] = 'selected';
112 112
             }
113 113
 
114 114
             $options .= new Element('option', "$label", $option_attributes);
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
      */
127 127
     public static function legend(string $label, array $attributes = []): string
128 128
     {
129
-        return '' . (new Element('legend', $label, $attributes));
129
+        return ''.(new Element('legend', $label, $attributes));
130 130
     }
131 131
 
132 132
     /**
@@ -196,6 +196,6 @@  discard block
 block discarded – undo
196 196
             unset($attributes['label']);
197 197
         }
198 198
 
199
-        return $label . (new Element($tag, $content, $attributes));
199
+        return $label.(new Element($tag, $content, $attributes));
200 200
     }
201 201
 }
Please login to merge, or discard this patch.