diff --git a/src/LaunchDarkly/FeatureFlag.php b/src/LaunchDarkly/FeatureFlag.php index 7aa7ede76..8d9661f6b 100644 --- a/src/LaunchDarkly/FeatureFlag.php +++ b/src/LaunchDarkly/FeatureFlag.php @@ -59,7 +59,7 @@ public static function getDecoder() { $v['on'], array_map(Prerequisite::getDecoder(), $v['prerequisites'] ?: []), $v['salt'], - array_map(Target::getDecoder(), $v['targets']), + array_map(Target::getDecoder(), $v['targets'] ?: []), array_map(Rule::getDecoder(), $v['rules']), call_user_func(VariationOrRollout::getDecoder(), $v['fallthrough']), $v['offVariation'],