Skip to content

Commit 7089189

Browse files
Add a few more ??=
1 parent 0aa947e commit 7089189

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
@@ -53,7 +53,7 @@ public function notify(Notification $notification, RecipientInterface $recipient
5353
$message = $notification->asEmailMessage($recipient, $transportName);
5454
}
5555

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

0 commit comments

Comments
 (0)