@@ -64,7 +64,7 @@ |
||
64 | 64 | */ |
65 | 65 | protected function getPostsQuery() |
66 | 66 | { |
67 | - $query = Post::whereHas('tags', function ($query) { |
|
67 | + $query = Post::whereHas('tags', function($query) { |
|
68 | 68 | $query->where('slug', $this->tag->slug); |
69 | 69 | })->isPublished(); |
70 | 70 |
@@ -49,7 +49,7 @@ |
||
49 | 49 | $post->setUrl($this->postPage, $this->controller); |
50 | 50 | |
51 | 51 | if ($post && $post->categories->count()) { |
52 | - $post->categories->each(function ($category) { |
|
52 | + $post->categories->each(function($category) { |
|
53 | 53 | $category->setUrl($this->categoryPage, $this->controller); |
54 | 54 | }); |
55 | 55 | } |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | /** |
22 | 22 | * @var Collection | array |
23 | 23 | */ |
24 | - public $tags = []; |
|
24 | + public $tags = [ ]; |
|
25 | 25 | |
26 | 26 | /** |
27 | 27 | * Reference to the page name for linking to tags page |
@@ -127,7 +127,7 @@ discard block |
||
127 | 127 | $this->tagsPage = $this->property('tagsPage', ''); |
128 | 128 | $this->orderBy = $this->property('orderBy', 'name asc'); |
129 | 129 | $this->displayEmpty = $this->property('displayEmpty', false); |
130 | - $this->limit = $this->property('limit', 0); |
|
130 | + $this->limit = $this->property('limit', 0); |
|
131 | 131 | |
132 | 132 | $this->tags = $this->listTags(); |
133 | 133 | } |
@@ -62,7 +62,7 @@ |
||
62 | 62 | */ |
63 | 63 | protected function getPostsQuery() |
64 | 64 | { |
65 | - $query = Post::whereHas('series', function ($query) { |
|
65 | + $query = Post::whereHas('series', function($query) { |
|
66 | 66 | $query->where('slug', $this->series->slug); |
67 | 67 | })->isPublished(); |
68 | 68 |