Completed
Push — master ( a449a7...7f0061 )
by Gino
12:11
created
components/TagPosts.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
components/UrlHelperTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.
components/TagList.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
components/SeriesPosts.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.