Skip to content

Commit e215364

Browse files
committed
missing array key guards
1 parent 9023ea6 commit e215364

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/LaunchDarkly/FeatureFlag.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ public static function getDecoder()
7979
$v['offVariation'],
8080
$v['variations'] ?: [],
8181
$v['deleted'],
82-
$v['trackEvents'],
83-
$v['debugEventsUntilDate']
82+
isset($v['trackEvents']) && $v['trackEvents'],
83+
isset($v['debugEventsUntilDate']) ? $v['debugEventsUntilDate'] : null
8484
);
8585
};
8686
}

0 commit comments

Comments
 (0)