Skip to content

Commit 464e1ee

Browse files
authored
Merge pull request #195 from KnpLabs/hotfix/revert-interface-change
Revert "Merge pull request #176 from garak/fix-interface"
2 parents 9e8df46 + 9911f20 commit 464e1ee

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Knp/Component/Pager/Pagination/AbstractPagination.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
namespace Knp\Component\Pager\Pagination;
44

5-
abstract class AbstractPagination implements PaginationInterface
5+
use Countable, Iterator, ArrayAccess;
6+
7+
abstract class AbstractPagination implements PaginationInterface, Countable, Iterator, ArrayAccess
68
{
79
protected $currentPageNumber;
810
protected $numItemsPerPage;

src/Knp/Component/Pager/Pagination/PaginationInterface.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,12 @@
22

33
namespace Knp\Component\Pager\Pagination;
44

5-
use Countable, Iterator, ArrayAccess;
6-
75
/**
86
* Pagination interface strictly defines
97
* the methods - paginator will use to populate the
108
* pagination data
119
*/
12-
interface PaginationInterface extends Countable, Iterator, ArrayAccess
10+
interface PaginationInterface
1311
{
1412
/**
1513
* @param integer $pageNumber

0 commit comments

Comments
 (0)