Completed
Push — master ( 3cc3b2...768def )
by Vitaliy
01:53
created
src/Element/Button.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.