Take page size into account.

This commit is contained in:
James Cole
2016-04-21 09:00:32 +02:00
parent e293d69798
commit 98c057c516
4 changed files with 27 additions and 12 deletions

View File

@@ -204,10 +204,12 @@ interface BudgetRepositoryInterface
/**
* @param Carbon $start
* @param Carbon $end
* @param int $page
* @param int $pageSize
*
* @return Collection
* @return LengthAwarePaginator
*/
public function getWithoutBudget(Carbon $start, Carbon $end): Collection;
public function getWithoutBudget(Carbon $start, Carbon $end, int $page, int $pageSize = 50): LengthAwarePaginator;
/**
* @param Collection $accounts