Skip to content

Commit 0f76969

Browse files
committed
linter
1 parent 0d4fc33 commit 0f76969

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/LaunchDarkly/FeatureFlagsState.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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()

src/LaunchDarkly/LDClient.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff 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
*/

0 commit comments

Comments
 (0)