From 6afe1905a639c795cc8df7a5a58b3b26f37bb534 Mon Sep 17 00:00:00 2001 From: nanaya Date: Fri, 11 Jun 2021 13:45:39 +0900 Subject: [PATCH] Update usage of deprecated `sendNow` method `sendNow` and `send` are the same since 6.10 and the former is removed in 8.x. --- app/Jobs/UserNotificationDigest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Jobs/UserNotificationDigest.php b/app/Jobs/UserNotificationDigest.php index 35116f4d612..b21e00a1b29 100644 --- a/app/Jobs/UserNotificationDigest.php +++ b/app/Jobs/UserNotificationDigest.php @@ -49,7 +49,7 @@ public function handle() } // TODO: catch and log errors? - Mail::to($this->user)->sendNow(new UserNotificationDigestMail($notifications, $this->user)); + Mail::to($this->user)->send(new UserNotificationDigestMail($notifications, $this->user)); } private function filterNotifications(Collection $notifications)