Completed
Push — master ( 6c3469...be19c4 )
by Gino
01:28
created
components/SeriesPosts.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,14 +88,14 @@
 block discarded – undo
88 88
      */
89 89
     protected function getPostsQuery()
90 90
     {
91
-        $query = Post::whereHas('series', function ($query) {
91
+        $query = Post::whereHas('series', function($query) {
92 92
             $query->whereTranslatable('slug', $this->series->slug);
93 93
         });
94 94
 
95 95
         $tagIds = $this->series->tags->lists('id');
96 96
 
97 97
         if (!empty($tagIds) && $this->includeTaggedPosts) {
98
-            $query->orWhereHas('tags', function ($tag) use ($tagIds) {
98
+            $query->orWhereHas('tags', function($tag) use ($tagIds) {
99 99
                 $tag->whereIn('id', $tagIds);
100 100
             });
101 101
         }
Please login to merge, or discard this patch.