/** * @param int $pollId * @return bool|int */ public function resetVotesByPollId($pollId) { return $this->voteRepository->delete($pollId, 'poll_id'); }