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