File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -633,7 +633,7 @@ protected function defaultOrdering(): void
633633
634634 if ($ this ->hasOrderColumn ($ orderable ['name ' ])) {
635635 $ this ->applyOrderColumn ($ orderable ['name ' ], $ orderable );
636- } else if ($ this ->hasOrderColumn ($ column )) {
636+ } elseif ($ this ->hasOrderColumn ($ column )) {
637637 $ this ->applyOrderColumn ($ column , $ orderable );
638638 } else {
639639 $ nullsLastSql = $ this ->getNullsLastSql ($ column , $ orderable ['direction ' ]);
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ class CustomOrderTest extends TestCase
1212 use DatabaseTransactions;
1313
1414 /** @test */
15- function it_can_order_with_custom_order ()
15+ public function it_can_order_with_custom_order ()
1616 {
1717 $ response = $ this ->getJsonResponse ([
1818 'order ' => [
You can’t perform that action at this time.
0 commit comments