public function cancelVote($targets, $class = __CLASS__)
    {
        $this->hasUpvoted($targets) && Follow::detachRelations($this, 'upvotes', $targets, $class);
        $this->hasDownvoted($targets) && Follow::detachRelations($this, 'downvotes', $targets, $class);

        return $this;
    }
public function cancelVote($targets, $class = __CLASS__)
    {
        $this->hasUpvoted($targets) && Follow::detachRelations($this, 'upvotes', $targets, $class);
        $this->hasDownvoted($targets) && Follow::detachRelations($this, 'downvotes', $targets, $class);

        return $this;
    }
public function cancelVote ( $ targets , $ class = __CLASS__ ) { $ this -> hasUpvoted ( $ targets ) && Follow :: detachRelations ( $ this , 'upvotes' , $ targets , $ class ) ; $ this -> hasDownvoted ( $ targets ) && Follow :: detachRelations ( $ this , 'downvotes' , $ targets , $ class ) ; return $ this ; }
Cancel vote for an item or items.

@param int|array|\Illuminate\Database\Eloquent\Model $targets
@param string                                        $class

@return \Overtrue\LaravelFollow\Traits\CanVote
Cancel vote for an item or items .