Skip to content

Commit

Permalink
fix sampling
Browse files Browse the repository at this point in the history
  • Loading branch information
cdaguerre authored Nov 10, 2022
1 parent 5f3b7b6 commit 93d3946
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function onEvent(object $event): void

if (VoterInterface::VOTE_RECORD === $vote) {
$this->sampler->recordAndSampleNext();
} elseif (VoterInterface::VOTE_ABSTAIN === $vote) {
} elseif (VoterInterface::VOTE_DROP === $vote) {
$this->sampler->dropNext();
}
}
Expand Down

0 comments on commit 93d3946

Please sign in to comment.