Skip to content

Commit 83910dd

Browse files
committed
Use the Pagination interface rather than the concrete class
1 parent 2bd5d0f commit 83910dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Resource/Paginatable.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
namespace Tobyz\JsonApiServer\Resource;
44

5-
use Tobyz\JsonApiServer\Pagination\OffsetPagination;
5+
use Tobyz\JsonApiServer\Pagination\Pagination;
66

77
interface Paginatable
88
{
99
/**
1010
* Paginate the given query.
1111
*/
12-
public function paginate(object $query, OffsetPagination $pagination): void;
12+
public function paginate(object $query, Pagination $pagination): void;
1313
}

0 commit comments

Comments
 (0)