Skip to content

Commit bf2af2c

Browse files
yoeunesnicolas-grekas
authored andcommitted
[Notifier] Remove unused $transportName argument in EmailChannel::notify()
1 parent 1ac94c1 commit bf2af2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Channel/EmailChannel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function notify(Notification $notification, RecipientInterface $recipient
5454
$message = $notification->asEmailMessage($recipient, $transportName);
5555
}
5656

57-
$message ??= EmailMessage::fromNotification($notification, $recipient, $transportName);
57+
$message ??= EmailMessage::fromNotification($notification, $recipient);
5858
$email = $message->getMessage();
5959
if ($email instanceof Email) {
6060
if (!$email->getFrom()) {

0 commit comments

Comments
 (0)