protected function getNextPage($totalPages, $offset, $limit)
    {
        $nextPage = ($offset / $limit) + 2;
        if ($nextPage > $totalPages) {
            return null;
        }

        return $nextPage;
    }