Completed
Push — master ( 64498a...a449a7 )
by Gino
04:58
created
components/TagPosts.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -61,10 +61,10 @@  discard block
 block discarded – undo
61 61
      */
62 62
     public $lastPage;
63 63
 
64
-     /**
65
-     * Reference to the page name for linking to posts.
66
-     * @var string
67
-     */
64
+        /**
65
+         * Reference to the page name for linking to posts.
66
+         * @var string
67
+         */
68 68
     public $postPage;
69 69
 
70 70
     /**
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
             ->orWhere('slug', $this->property('tag'))
163 163
             ->with(['posts' => function($posts) {
164 164
                 $posts->skip($this->resultsPerPage * ($this->currentPage - 1))
165
-                      ->take($this->resultsPerPage);
165
+                        ->take($this->resultsPerPage);
166 166
             }])
167 167
             ->first();
168 168
 
Please login to merge, or discard this patch.
controllers/Tags.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 use Backend\Behaviors\FormController;
11 11
 use Backend\Behaviors\ListController;
12 12
 use October\Rain\Exception\SystemException;
13
-use October\Rain\Flash\FlashBag;
14 13
 
15 14
 /**
16 15
  * Class Tags
Please login to merge, or discard this patch.
components/TagList.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace GinoPane\BlogTaxonomy\Components;
4 4
 
5
-use DB;
6 5
 use Cms\Classes\Page;
7 6
 use Cms\Classes\ComponentBase;
8 7
 use GinoPane\BlogTaxonomy\Plugin;
Please login to merge, or discard this patch.