Skip to content

Commit 52e15bd

Browse files
authored
Fixes missing return type
1 parent a8d4db9 commit 52e15bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

queries.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1580,7 +1580,7 @@ class Paginate
15801580

15811581
public function __invoke(Builder $query): LengthAwarePaginator
15821582
{
1583-
$query->orderBy($this->sortBy, $this->sortDirection)
1583+
return $query->orderBy($this->sortBy, $this->sortDirection)
15841584
->paginate($this->perPage, pageName: 'p');
15851585
}
15861586
}

0 commit comments

Comments
 (0)