Skip to content

Commit 77b990e

Browse files
authored
Merge pull request #75 from launchdarkly/eb/sc-126500/rm-obsolete-line
remove obsolete line that's no longer used because $seed is computed elsewhere
2 parents 730a497 + 8382bc3 commit 77b990e

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)