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 0aa947e commit 7089189Copy full SHA for 7089189
Channel/EmailChannel.php
@@ -53,7 +53,7 @@ public function notify(Notification $notification, RecipientInterface $recipient
53
$message = $notification->asEmailMessage($recipient, $transportName);
54
}
55
56
- $message = $message ?: EmailMessage::fromNotification($notification, $recipient, $transportName);
+ $message ??= EmailMessage::fromNotification($notification, $recipient, $transportName);
57
$email = $message->getMessage();
58
if ($email instanceof Email) {
59
if (!$email->getFrom()) {
0 commit comments