private function updateOffset()
    {
        if ($this->after()) {
            $this->params['after'] = $this->collection[$this->total_count - 1]['id'];
        } else {
            $this->params['before'] = $this->collection[$this->total_count - 1]['id'];
        }
        return $this;
    }
private function updateOffset()
    {
        if ($this->after()) {
            $this->params['after'] = $this->collection[$this->total_count - 1]['id'];
        } else {
            $this->params['before'] = $this->collection[$this->total_count - 1]['id'];
        }
        return $this;
    }
private function updateOffset ( ) { if ( $ this -> after ( ) ) { $ this -> params [ 'after' ] = $ this -> collection [ $ this -> total_count - 1 ] [ 'id' ] ; } else { $ this -> params [ 'before' ] = $ this -> collection [ $ this -> total_count - 1 ] [ 'id' ] ; } return $ this ; }
If after is set, then we increment it, otherwise we increment before
If after is set then we increment it otherwise we increment before