File tree Expand file tree Collapse file tree 9 files changed +9
-9
lines changed
Expand file tree Collapse file tree 9 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -500,7 +500,7 @@ protected function formSubmitHtml()
500500 }
501501 }
502502
503- return $ this -> toHtmlString ( $ html) ;
503+ return $ html ;
504504 }
505505
506506 /**
Original file line number Diff line number Diff line change @@ -22,6 +22,6 @@ public static function render($options = [])
2222
2323 throw_if (empty ($ content ), 'You cannot have an empty button ' );
2424
25- return new HtmlString ( "<button {$ attributes }> {$ content }</button> " ) ;
25+ return "<button {$ attributes }> {$ content }</button> " ;
2626 }
2727}
Original file line number Diff line number Diff line change @@ -20,6 +20,6 @@ public static function render($options = [])
2020
2121 throw_if (empty ($ content ), 'You cannot have an empty div ' );
2222
23- return new HtmlString ( "<div {$ attributes }> {$ content }</div> " ) ;
23+ return "<div {$ attributes }> {$ content }</div> " ;
2424 }
2525}
Original file line number Diff line number Diff line change @@ -9,6 +9,6 @@ class DivClose extends HtmlSnippet
99{
1010 public static function render ($ options = [])
1111 {
12- return new HtmlString ( '</div> ' ) ;
12+ return '</div> ' ;
1313 }
1414}
Original file line number Diff line number Diff line change @@ -12,6 +12,6 @@ public static function render($options = [])
1212 {
1313 $ attributes = app (AttributeBuilder::class)->render ($ options ['attributes ' ]);
1414
15- return new HtmlString ( "<div {$ attributes }> " ) ;
15+ return "<div {$ attributes }> " ;
1616 }
1717}
Original file line number Diff line number Diff line change @@ -25,6 +25,6 @@ public static function render($options = [])
2525
2626 throw_if (empty ($ content ), 'You cannot have an empty heading ' );
2727
28- return new HtmlString ( "<h {$ level } {$ attributes }> {$ content }</h {$ level }> " ) ;
28+ return "<h {$ level } {$ attributes }> {$ content }</h {$ level }> " ;
2929 }
3030}
Original file line number Diff line number Diff line change @@ -12,6 +12,6 @@ public static function render($options = [])
1212 {
1313 $ attributes = app (AttributeBuilder::class)->render ($ options ['attributes ' ]);
1414
15- return new HtmlString ( "<hr {$ attributes }> " ) ;
15+ return "<hr {$ attributes }> " ;
1616 }
1717}
Original file line number Diff line number Diff line change @@ -22,6 +22,6 @@ public static function render($options = [])
2222
2323 throw_if (empty ($ content ), 'You cannot have an empty button ' );
2424
25- return new HtmlString ( "<a {$ attributes }> {$ content }</a> " ) ;
25+ return "<a {$ attributes }> {$ content }</a> " ;
2626 }
2727}
Original file line number Diff line number Diff line change @@ -20,6 +20,6 @@ public static function render($options = [])
2020
2121 throw_if (empty ($ content ), 'You cannot have an empty span ' );
2222
23- return new HtmlString ( "<span {$ attributes }> {$ content }</span> " ) ;
23+ return "<span {$ attributes }> {$ content }</span> " ;
2424 }
2525}
You can’t perform that action at this time.
0 commit comments