Skip to content

Commit

Permalink
Merge pull request #195 from KnpLabs/hotfix/revert-interface-change
Browse files Browse the repository at this point in the history
Revert "Merge pull request #176 from garak/fix-interface"
  • Loading branch information
polc authored Mar 22, 2018
2 parents 9e8df46 + 9911f20 commit 464e1ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 3 additions & 1 deletion src/Knp/Component/Pager/Pagination/AbstractPagination.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

namespace Knp\Component\Pager\Pagination;

abstract class AbstractPagination implements PaginationInterface
use Countable, Iterator, ArrayAccess;

abstract class AbstractPagination implements PaginationInterface, Countable, Iterator, ArrayAccess
{
protected $currentPageNumber;
protected $numItemsPerPage;
Expand Down
4 changes: 1 addition & 3 deletions src/Knp/Component/Pager/Pagination/PaginationInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,12 @@

namespace Knp\Component\Pager\Pagination;

use Countable, Iterator, ArrayAccess;

/**
* Pagination interface strictly defines
* the methods - paginator will use to populate the
* pagination data
*/
interface PaginationInterface extends Countable, Iterator, ArrayAccess
interface PaginationInterface
{
/**
* @param integer $pageNumber
Expand Down

0 comments on commit 464e1ee

Please sign in to comment.