Skip to content

Commit

Permalink
send eloquent collection for proper serializationg
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Oct 6, 2016
1 parent 3ba17de commit 1c78e00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Notifications/ChannelManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ protected function queueNotification($notifiables, $notification)
foreach ($notifiables as $notifiable) {
foreach ($notification->via($notifiable) as $channel) {
$bus->dispatch(
(new SendQueuedNotifications([$notifiable], $notification, [$channel]))
(new SendQueuedNotifications($this->formatNotifiables($notifiable), $notification, [$channel]))
->onConnection($notification->connection)
->onQueue($notification->queue)
->delay($notification->delay)
Expand Down

0 comments on commit 1c78e00

Please sign in to comment.