Take page size into account. [skip ci]

This commit is contained in:
James Cole
2016-04-21 10:34:16 +02:00
parent ef48a79d0c
commit 0ef5eeeb55
12 changed files with 23 additions and 28 deletions

View File

@@ -57,12 +57,12 @@ interface JournalRepositoryInterface
/**
* @param array $types
* @param int $offset
* @param int $page
* @param int $pageSize
*
* @return LengthAwarePaginator
*/
public function getJournalsOfTypes(array $types, int $offset, int $page): LengthAwarePaginator;
public function getJournalsOfTypes(array $types, int $page, int $pageSize = 50): LengthAwarePaginator;
/**
* @param string $type