Passed
Push — master ( 65930e...899fe0 )
by Andrey
05:45
created
src/Relations/Pivot.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
         if ($this->query->isSimple()) {
94 94
             $this->query->addSelect($this->shouldSelect($columns));
95 95
 
96
-            return tap($this->query->paginate($perPage, $columns, $pageName, $page), function ($paginator) {
96
+            return tap($this->query->paginate($perPage, $columns, $pageName, $page), function($paginator) {
97 97
                 $items = $paginator->items();
98 98
 
99 99
                 $this->hydrateSimplePivotRelation($items);
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
     {
117 117
         if ($this->query->isSimple()) {
118 118
             $this->query->addSelect($this->shouldSelect($columns));
119
-            return tap($this->query->simplePaginate($perPage, $columns, $pageName, $page), function ($paginator) {
119
+            return tap($this->query->simplePaginate($perPage, $columns, $pageName, $page), function($paginator) {
120 120
                 $items = $paginator->items();
121 121
 
122 122
                 $this->hydrateSimplePivotRelation($items);
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
 
141 141
             $this->query->addSelect($this->shouldSelect());
142 142
 
143
-            return $this->query->chunk($count, function ($results) use ($callback) {
143
+            return $this->query->chunk($count, function($results) use ($callback) {
144 144
                 $items = $results->all();
145 145
 
146 146
                 $this->hydrateSimplePivotRelation($items);
Please login to merge, or discard this patch.