src/Jobs/EsiBase.php
public function nextPage(int $pages): bool
    {

        if ($this->page >= $pages)
            return false;

        $this->page++;

        return true;
    }
public function nextPage(int $pages): bool
    {

        if ($this->page >= $pages)
            return false;

        $this->page++;

        return true;
    }
public function nextPage ( int $ pages ) : bool { if ( $ this -> page >= $ pages ) return false ; $ this -> page ++ ; return true ; }
Check if there are any pages left in a response
based on the number of pages available and the
current page.

@param int $pages

@return bool
Check if there are any pages left in a response based on the number of pages available and the current page .