public function removeVote(
        CommentInterface $comment,
        $authorToken
    ) {
        /**
         * @var VoteInterface $vote
         */
        $vote = $this
            ->commentVoteObjectDirector
            ->findOneBy([
                'authorToken' => $authorToken,
                'comment' => $comment,
            ]);

        if ($vote instanceof VoteInterface) {
            $this
                ->commentVoteObjectDirector
                ->remove($vote);
        }

        return $this;
    }
public function removeVote(
        CommentInterface $comment,
        $authorToken
    ) {
        /**
         * @var VoteInterface $vote
         */
        $vote = $this
            ->commentVoteObjectDirector
            ->findOneBy([
                'authorToken' => $authorToken,
                'comment' => $comment,
            ]);

        if ($vote instanceof VoteInterface) {
            $this
                ->commentVoteObjectDirector
                ->remove($vote);
        }

        return $this;
    }
public function removeVote ( CommentInterface $ comment , $ authorToken ) { /**
         * @var VoteInterface $vote
         */ $ vote = $ this -> commentVoteObjectDirector -> findOneBy ( [ 'authorToken' => $ authorToken , 'comment' => $ comment , ] ) ; if ( $ vote instanceof VoteInterface ) { $ this -> commentVoteObjectDirector -> remove ( $ vote ) ; } return $ this ; }
Remove Vote action.

@param CommentInterface $comment     Comment
@param string           $authorToken Author token

@return $this VoteManager
Remove Vote action .