We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3083d49 commit 5cf554dCopy full SHA for 5cf554d
src/Forms/Email.php
@@ -65,11 +65,11 @@ protected function addViews()
65
}
66
67
if ($text) {
68
- $this->text((string) $text);
+ $this->text($text);
69
70
71
if ($html) {
72
- $this->view((string) $html);
+ $this->view($html);
73
74
75
return $this;
@@ -128,7 +128,7 @@ protected function parseConfig(array $config)
128
$data = $this->submission->toArray();
129
130
return collect($config)->map(function ($value) use ($data) {
131
- return Parse::template(Parse::env($value), $data);
+ return (string) Parse::template(Parse::env($value), $data);
132
});
133
134
0 commit comments