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