This commit is contained in:
James Cole
2023-12-21 05:07:26 +01:00
parent 1f7ceb6df6
commit a445bc53cd
61 changed files with 165 additions and 163 deletions

View File

@@ -73,7 +73,7 @@ class MailError extends Job implements ShouldQueue
\Mail::send(
['emails.error-html', 'emails.error-text'],
$args,
static function (Message $message) use ($email) {
static function (Message $message) use ($email): void {
if ('mail@example.com' !== $email) {
$message->to($email, $email)->subject((string)trans('email.error_subject'));
}