Completed
Push — develop ( 441247...98c4f4 )
by Evan
02:37
created
src/Post/QueryBuilder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
      */
30 30
     public function __construct(WP_Query $query = null)
31 31
     {
32
-        if (! $query) {
32
+        if (!$query) {
33 33
             $query = new WP_Query();
34 34
         }
35 35
 
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
         $modelClass = get_class($this->model);
142 142
 
143 143
         return Collection::make($this->query->get_posts())
144
-            ->map(function ($post) use ($modelClass) {
144
+            ->map(function($post) use ($modelClass) {
145 145
                 return new $modelClass($post);
146 146
             });
147 147
     }
Please login to merge, or discard this patch.
src/User/QueryBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
      */
22 22
     public function __construct(WP_User_Query $query = null)
23 23
     {
24
-        if (! $query) {
24
+        if (!$query) {
25 25
             $query = new WP_User_Query();
26 26
         }
27 27
 
Please login to merge, or discard this patch.