@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | self::TYPE_SUBMIT, |
| 60 | 60 | ]) |
| 61 | 61 | ) { |
| 62 | - throw new \InvalidArgumentException('Invalid button type: ' . $type); |
|
| 62 | + throw new \InvalidArgumentException('Invalid button type: '.$type); |
|
| 63 | 63 | } |
| 64 | 64 | $this->setAttribute('type', $type); |
| 65 | 65 | return $this; |
@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | * @return string |
| 71 | 71 | */ |
| 72 | 72 | public function render() { |
| 73 | - $html = '<button ' . Html::renderAttributes($this->getAttributes()) . ' >'; |
|
| 73 | + $html = '<button '.Html::renderAttributes($this->getAttributes()).' >'; |
|
| 74 | 74 | $html .= ($this->getText() ?: 'Button'); |
| 75 | 75 | $html .= '</button>'; |
| 76 | 76 | |