Skip to content

Commit

Permalink
Merge branch 'iamgergo/8.x' into 8.x
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Nov 19, 2020
2 parents 1a552b7 + 27b4a76 commit c054535
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Illuminate/Notifications/NotificationSender.php
Expand Up @@ -202,7 +202,10 @@ protected function queueNotification($notifiables, $notification)
(new SendQueuedNotifications($notifiable, $notification, [$channel]))
->onConnection($notification->connection)
->onQueue($queue)
->delay($notification->delay)
->delay(is_array($notification->delay) ?
($notification->delay[$channel] ?? null)
: $notification->delay
)
->through(
array_merge(
method_exists($notification, 'middleware') ? $notification->middleware() : [],
Expand Down

0 comments on commit c054535

Please sign in to comment.