src/Repositories/EloquentRepository.php
public function next($model, $category_id = null, array $with = [], $all = false)
    {
        return $this->adjacent(1, $model, $category_id, $with, $all);
    }
public function next($model, $category_id = null, array $with = [], $all = false)
    {
        return $this->adjacent(1, $model, $category_id, $with, $all);
    }
public function next ( $ model , $ category_id = null , array $ with = [ ] , $ all = false ) { return $ this -> adjacent ( 1 , $ model , $ category_id , $ with , $ all ) ; }
Get next model.

@param Model $model
@param int   $category_id
@param array $with
@param bool  $all

@return Model|null
Get next model .