File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ public function addFlag($flag, $evalResult)
3535 }
3636 $ meta ['version ' ] = $ flag ->getVersion ();
3737 $ meta ['trackEvents ' ] = $ flag ->isTrackEvents ();
38- if ($ flag ->getDebugEventsUntilDate ()) {
38+ if ($ flag ->getDebugEventsUntilDate ()) {
3939 $ meta ['debugEventsUntilDate ' ] = $ flag ->getDebugEventsUntilDate ();
4040 }
4141 $ this ->_flagMetadata [$ flag ->getKey ()] = $ meta ;
@@ -78,7 +78,6 @@ public function toValuesMap()
7878 * Returns a JSON representation of the entire state map (as an associative array), in the format used
7979 * by the LaunchDarkly JavaScript SDK. Use this method if you are passing data to the front end in
8080 * order to "bootstrap" the JavaScript client.
81- *
8281 * @return array an associative array suitable for passing as a JSON object
8382 */
8483 public function toJson ()
Original file line number Diff line number Diff line change @@ -260,7 +260,6 @@ public function identify($user)
260260 * This method will not send analytics events back to LaunchDarkly.
261261 * <p>
262262 * The most common use case for this method is to bootstrap a set of client-side feature flags from a back-end service.
263- *
264263 * @deprecated Use allFlagsState() instead. Current versions of the client-side SDK will not
265264 * generate analytics events correctly if you pass the result of allFlags().
266265 * @param $user LDUser the end user requesting the feature flags
@@ -282,7 +281,6 @@ public function allFlags($user)
282281 * <p>
283282 * The most common use case for this method is to bootstrap a set of client-side feature flags from a back-end service.
284283 * To convert the state object into a JSON data structure, call its toJson() method.
285- *
286284 * @param $user LDUser the end user requesting the feature flags
287285 * @return FeatureFlagsState a FeatureFlagsState object (will never be null; see FeatureFlagsState.isValid())
288286 */
You can’t perform that action at this time.
0 commit comments