Update AbstractPagination.php