We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f348c10 + 054304c commit 455959dCopy full SHA for 455959d
src/LaunchDarkly/FeatureFlag.php
@@ -63,7 +63,7 @@ public static function getDecoder() {
63
array_map(Rule::getDecoder(), $v['rules'] ?: []),
64
call_user_func(VariationOrRollout::getDecoder(), $v['fallthrough']),
65
$v['offVariation'],
66
- $v['variations'],
+ $v['variations'] ?: [],
67
$v['deleted']);
68
};
69
}
0 commit comments