File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ class Builder extends EloquentBuilder
13
13
14
14
/**
15
15
* The methods that should be returned from query builder.
16
+ *
16
17
* @var array
17
18
*/
18
19
protected $ passthru = [
@@ -191,6 +192,7 @@ public function raw($expression = null)
191
192
* TODO Remove if https://github.com/laravel/framework/commit/6484744326531829341e1ff886cc9b628b20d73e
192
193
* wiil be reverted
193
194
* Issue in laravel frawework https://github.com/laravel/framework/issues/27791.
195
+ *
194
196
* @param array $values
195
197
* @return array
196
198
*/
@@ -235,10 +237,11 @@ protected function ensureOrderForCursorPagination($shouldReverse = false)
235
237
return $ this ->mapMongodbOrdersToEloquentOrders ($ this ->query ->orders );
236
238
}
237
239
238
- private function mapMongodbOrdersToEloquentOrders ($ orders ) {
240
+ private function mapMongodbOrdersToEloquentOrders ($ orders )
241
+ {
239
242
$ eloquentOrders = [];
240
243
241
- foreach ($ orders as $ column => $ direction ) {
244
+ foreach ($ orders as $ column => $ direction ) {
242
245
$ eloquentOrders [] = [
243
246
'column ' => $ column ,
244
247
'direction ' => $ direction === 1 ? 'asc ' : 'desc ' ,
You can’t perform that action at this time.
0 commit comments