refactor(email): remove unnecessary whitespace in email sending logic

This commit is contained in:
Andras Bacsai 2025-03-28 18:46:46 +01:00
parent 2b046c4bc4
commit 6d9887afba

View file

@ -51,7 +51,6 @@ public function send(SendsEmail $notifiable, Notification $notification): void
$fromEmail = $settings->smtp_from_address ?? 'noreply@localhost';
$fromName = $settings->smtp_from_name ?? 'System';
$from = new \Symfony\Component\Mime\Address($fromEmail, $fromName);
$email = (new \Symfony\Component\Mime\Email)
->from($from)
->to(...$recipients)