Skip to content

Commit

Permalink
chore: remove debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
imorland committed Sep 16, 2024
1 parent 588f48a commit 83c14d3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Commands/MultipleVotesPollHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,6 @@ public function handle(MultipleVotesPoll $command)
$this->validateInput($optionIds, $maxVotes, $options);

if ($this->isChangingVotes($optionIds, $myVotes->pluck('option_id')->toArray())) {
//dd('changing vote');
//dd($actor->can('changeVote', $poll));
$actor->assertCan('changeVote', $poll);
}

Expand Down Expand Up @@ -241,7 +239,6 @@ protected function isChangingVotes(array $optionIds, array $myVotes)
// Check the arrays have the same values
$same = (count(array_diff($optionIds, $myVotes)) === 0 && count(array_diff($myVotes, $optionIds)) === 0);

//dd($optionIds, $myVotes, $same);
return !$same;
}

Expand Down

0 comments on commit 83c14d3

Please sign in to comment.