Skip to content

Commit

Permalink
Make PaginationInterface compatible with Sql\LimitOffsetInterface
Browse files Browse the repository at this point in the history
  • Loading branch information
lippserd committed Oct 8, 2019
1 parent 3835b5e commit be098a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Contract/PaginationInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function getLimit();
*
* @return $this
*/
public function setLimit($limit);
public function limit($limit);

/**
* Get whether an offset is set
Expand All @@ -50,5 +50,5 @@ public function getOffset();
*
* @return $this
*/
public function setOffset($offset);
public function offset($offset);
}

0 comments on commit be098a6

Please sign in to comment.