Skip to content

Commit 606f82b

Browse files
authored
Use Str::wrap() instead of nesting Str::start() inside Str::finish() (#53987)
1 parent fd225c8 commit 606f82b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Mail/Mailables/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 (new Collection($this->references))
98-
->map(fn ($messageId) => Str::finish(Str::start($messageId, '<'), '>'))
98+
->map(fn ($messageId) => Str::wrap($messageId, '<', '>'))
9999
->implode(' ');
100100
}
101101
}

0 commit comments

Comments
 (0)