Completed
Push — master ( f84666...e52fc0 )
by Evan
01:46
created
src/Term/QueryBuilder.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
     {
99 99
         if ($this->model) {
100 100
             $this->set('taxonomy', $this->model->taxonomy)
101
-                 ->set('fields', 'all');
101
+                    ->set('fields', 'all');
102 102
         } elseif ($this->taxonomy) {
103 103
             $this->set('taxonomy', $this->taxonomy);
104 104
         }
Please login to merge, or discard this patch.
src/Post/QueryBuilder.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@
 block discarded – undo
123 123
     {
124 124
         if ($this->model) {
125 125
             $this->set('post_type', $this->model->post_type)
126
-                 ->set('fields', ''); // as WP_Post objects
126
+                    ->set('fields', ''); // as WP_Post objects
127 127
         }
128 128
 
129 129
         return $this->query->get_posts();
Please login to merge, or discard this patch.
src/Query/Builder.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -54,9 +54,9 @@
 block discarded – undo
54 54
         $modelClass = get_class($this->model);
55 55
 
56 56
         return Collection::make($this->query())
57
-                         ->map(function ($result) use ($modelClass) {
58
-                             return new $modelClass($result);
59
-                         });
57
+                            ->map(function ($result) use ($modelClass) {
58
+                                return new $modelClass($result);
59
+                            });
60 60
     }
61 61
 
62 62
     /**
Please login to merge, or discard this patch.
src/User/Model.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -131,10 +131,10 @@
 block discarded – undo
131 131
     }
132 132
 
133 133
     /**
134
-    * Get a new query builder for the model.
135
-    *
136
-    * @return \Silk\Contracts\Query\BuildsQueries
137
-    */
134
+     * Get a new query builder for the model.
135
+     *
136
+     * @return \Silk\Contracts\Query\BuildsQueries
137
+     */
138 138
     public function newQuery()
139 139
     {
140 140
         return QueryBuilder::make()->setModel($this);
Please login to merge, or discard this patch.
src/Type/Model.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -29,10 +29,10 @@
 block discarded – undo
29 29
     const ID_PROPERTY = '';
30 30
 
31 31
     /**
32
-    * Get a new query builder for the model.
33
-    *
34
-    * @return \Silk\Contracts\Query\BuildsQueries
35
-    */
32
+     * Get a new query builder for the model.
33
+     *
34
+     * @return \Silk\Contracts\Query\BuildsQueries
35
+     */
36 36
     abstract public function newQuery();
37 37
 
38 38
     /**
Please login to merge, or discard this patch.
src/Term/Model.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -174,7 +174,7 @@
 block discarded – undo
174 174
     public function children()
175 175
     {
176 176
         return Collection::make(get_term_children($this->id, static::TAXONOMY))
177
-             ->map([static::class, 'fromID']);
177
+                ->map([static::class, 'fromID']);
178 178
     }
179 179
 
180 180
     /**
Please login to merge, or discard this patch.