diff -r 01e7e6a17317 -r a50cbd7d702f server/src/app/Repositories/DocumentRepository.php --- a/server/src/app/Repositories/DocumentRepository.php Tue Dec 01 13:57:41 2015 +0100 +++ b/server/src/app/Repositories/DocumentRepository.php Tue Dec 01 16:49:37 2015 +0100 @@ -18,7 +18,7 @@ * @param string $pageName * @return \Illuminate\Contracts\Pagination\LengthAwarePaginator */ - public function paginateAll($perPage = 15, $pageName = 'page'); + public function paginateAll($perPage = 15, $pageName = 'page', $page = null); public function getCount(); }