@@ -93,7 +93,7 @@ discard block |
||
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 |
||
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 |
||
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); |