mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 17:57:04 +08:00
lists → pluck for Laravel 5.5
This commit is contained in:
parent
4548522ad7
commit
b8d73a9ade
|
@ -53,7 +53,7 @@ class PushNewPosts
|
|||
$pusher->trigger('public', 'newPost', [
|
||||
'postId' => $event->post->id,
|
||||
'discussionId' => $event->post->discussion->id,
|
||||
'tagIds' => $event->post->discussion->tags()->lists('id')
|
||||
'tagIds' => $event->post->discussion->tags()->pluck('id')
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user