bundle/Pagerfanta/View/SiteView.php
protected function calculateEndPageForStartPageUnderflow(int $startPage, int $endPage, int $nbPages): int
    {
        return min($endPage + (1 - $startPage), $nbPages);
    }
protected function calculateEndPageForStartPageUnderflow(int $startPage, int $endPage, int $nbPages): int
    {
        return min($endPage + (1 - $startPage), $nbPages);
    }
protected function calculateEndPageForStartPageUnderflow ( int $ startPage , int $ endPage , int $ nbPages ) : int { return min ( $ endPage + ( 1 - $ startPage ) , $ nbPages ) ; }
Calculates the end page when start page is underflowed.
Calculates the end page when start page is underflowed .