Skip to content

Commit d6652de

Browse files
committed
Fix CS issues
This commit fixes CS issues
1 parent 16e8f91 commit d6652de

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/Eloquent/Builder.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ class Builder extends EloquentBuilder
1313

1414
/**
1515
* The methods that should be returned from query builder.
16+
*
1617
* @var array
1718
*/
1819
protected $passthru = [
@@ -191,6 +192,7 @@ public function raw($expression = null)
191192
* TODO Remove if https://github.com/laravel/framework/commit/6484744326531829341e1ff886cc9b628b20d73e
192193
* wiil be reverted
193194
* Issue in laravel frawework https://github.com/laravel/framework/issues/27791.
195+
*
194196
* @param array $values
195197
* @return array
196198
*/
@@ -235,10 +237,11 @@ protected function ensureOrderForCursorPagination($shouldReverse = false)
235237
return $this->mapMongodbOrdersToEloquentOrders($this->query->orders);
236238
}
237239

238-
private function mapMongodbOrdersToEloquentOrders($orders) {
240+
private function mapMongodbOrdersToEloquentOrders($orders)
241+
{
239242
$eloquentOrders = [];
240243

241-
foreach($orders as $column => $direction) {
244+
foreach ($orders as $column => $direction) {
242245
$eloquentOrders[] = [
243246
'column' => $column,
244247
'direction' => $direction === 1 ? 'asc' : 'desc',

0 commit comments

Comments
 (0)