Skip to content

Commit 8382bc3

Browse files
committed
remove obsolete line that's no longer used because $seed is computed elsewhere
1 parent c3f48f2 commit 8382bc3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/LaunchDarkly/Impl/Model/FeatureFlag.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,6 @@ private function getOffValue(EvaluationReason $reason): EvaluationDetail
220220
private function getValueForVariationOrRollout(VariationOrRollout $r, LDUser $user, EvaluationReason $reason): EvaluationDetail
221221
{
222222
$rollout = $r->getRollout();
223-
$seed = is_null($rollout) ? null : $rollout->getSeed();
224223
list($index, $inExperiment) = $r->variationIndexForUser($user, $this->_key, $this->_salt);
225224
if ($index === null) {
226225
return new EvaluationDetail(null, null, EvaluationReason::error(EvaluationReason::MALFORMED_FLAG_ERROR));

0 commit comments

Comments
 (0)