Skip to content

Commit 908b14b

Browse files
committed
Update
1 parent ebfe361 commit 908b14b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Traits/WithSorting.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ public function applySorting($query)
5454
}
5555

5656
foreach ($this->sorts as $field => $direction) {
57-
58-
if (!in_array($direction, ['asc', 'desc'])) {
57+
if (! in_array($direction, ['asc', 'desc'])) {
5958
$direction = 'desc';
6059
}
6160

0 commit comments

Comments
 (0)