@@ -108,7 +108,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | } |