Skip to content

Commit

Permalink
Fix order and pagination applyment to match contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdheiden committed Oct 31, 2017
1 parent 0b30f77 commit 1a95905
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Adapters/FilterAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public function getFilterGroupQuery(Builder $builder, Group $group)
* @param Order $order
* @return mixed
*/
private function getOrderQuery($builder, Order $order)
public function getOrderQuery($builder, Order $order)
{
foreach ($order->get() as $orderField) {
/** @var OrderField $orderField */
Expand All @@ -125,7 +125,7 @@ private function getOrderQuery($builder, Order $order)
* @param Pagination $pagination
* @return mixed
*/
private function getPaginationQuery($builder, Pagination $pagination)
public function getPaginationQuery($builder, Pagination $pagination)
{
return $builder->limit($pagination->getLimit())
->offset($pagination->getOffset());
Expand Down

0 comments on commit 1a95905

Please sign in to comment.