From b8d73a9aded1202da73c6196e9b0e47463e2ba19 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Wed, 27 Dec 2017 07:32:39 +1030 Subject: [PATCH] =?UTF-8?q?lists=20=E2=86=92=20pluck=20for=20Laravel=205.5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extensions/pusher/src/Listener/PushNewPosts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/pusher/src/Listener/PushNewPosts.php b/extensions/pusher/src/Listener/PushNewPosts.php index 0ada4d6cb..4c889f636 100644 --- a/extensions/pusher/src/Listener/PushNewPosts.php +++ b/extensions/pusher/src/Listener/PushNewPosts.php @@ -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') ]); } }