Skip to content

Commit 2d1aca7

Browse files
authored
Use Str::wrap() instead of nesting Str::start() inside Str::finish() (#811)
Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com>
1 parent b365517 commit 2d1aca7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Mailable/Headers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public function text(array $text)
9595
public function referencesString(): string
9696
{
9797
return collect($this->references)->map(function ($messageId) {
98-
return Str::finish(Str::start($messageId, '<'), '>');
98+
return Str::wrap($messageId, '<', '>');
9999
})->implode(' ');
100100
}
101101
}

0 commit comments

Comments
 (0)