format muhahaha

This commit is contained in:
Andras Bacsai
2023-08-11 20:48:52 +02:00
parent c762195c8a
commit 82a01b4483
109 changed files with 295 additions and 244 deletions

View File

@@ -23,7 +23,7 @@ class EmailChannel
Mail::send(
[],
[],
fn(Message $message) => $message
fn (Message $message) => $message
->from(
data_get($notifiable, 'smtp_from_address'),
data_get($notifiable, 'smtp_from_name'),

View File

@@ -5,4 +5,4 @@ namespace App\Notifications\Channels;
interface SendsEmail
{
public function getRecepients($notification);
}
}

View File

@@ -25,7 +25,7 @@ class TransactionalEmailChannel
Mail::send(
[],
[],
fn(Message $message) => $message
fn (Message $message) => $message
->from(
data_get($settings, 'smtp_from_address'),
data_get($settings, 'smtp_from_name')

View File

@@ -49,7 +49,6 @@ class ResetPassword extends Notification
return ['mail'];
}
throw new \Exception('SMTP is not enabled');
}
public function toMail($notifiable)