rector: arrrrr

This commit is contained in:
Andras Bacsai
2025-01-07 14:52:08 +01:00
parent c702ebff6d
commit 16c0cd10d8
349 changed files with 4204 additions and 3712 deletions

View File

@@ -10,18 +10,18 @@ use Illuminate\Support\Facades\Mail;
class TransactionalEmailChannel
{
public function send(User $notifiable, Notification $notification): void
public function send(User $user, Notification $notification): void
{
$settings = instanceSettings();
if (! data_get($settings, 'smtp_enabled') && ! data_get($settings, 'resend_enabled')) {
return;
}
$email = $notifiable->email;
$email = $user->email;
if (! $email) {
return;
}
$this->bootConfigs();
$mailMessage = $notification->toMail($notifiable);
$mailMessage = $notification->toMail($user);
Mail::send(
[],
[],