| Total Complexity | 4 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class PagePagination |
||
| 9 | { |
||
| 10 | |||
| 11 | /** |
||
| 12 | * Take a paginator list, the actual page and the number of displayed elements |
||
| 13 | * checks and returns the next page or 0 if we are at the end |
||
| 14 | * @param Paginator $list |
||
| 15 | * @param int $page |
||
| 16 | * @param int $displayedNumber |
||
| 17 | * @return int |
||
| 18 | */ |
||
| 19 | public function nextPage(Paginator $list, int $page, int $displayedNumber) |
||
| 35 | } |