Skip to content

Commit fdeae98

Browse files
committed
chore: Pluralize big segments
1 parent 295ac15 commit fdeae98

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/LaunchDarkly/Impl/Integrations/RedisBigSegmentsStore.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function getMembership(string $contextHash): ?array
5656
$includeRefs = $this->connection->smembers($this->prefix . self::KEY_CONTEXT_INCLUDE . $contextHash);
5757
$excludeRefs = $this->connection->smembers($this->prefix . self::KEY_CONTEXT_EXCLUDE . $contextHash);
5858
} catch (Exception $e) {
59-
$this->logger->warning('Error getting big segment membership from Redis', ['exception' => $e->getMessage()]);
59+
$this->logger->warning('Error getting big segments membership from Redis', ['exception' => $e->getMessage()]);
6060
return null;
6161
}
6262

src/LaunchDarkly/Integrations/Redis.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ public static function featureRequester(ClientInterface $client, array $options
4040
}
4141

4242
/**
43-
* Configures a big segment store instance backed by Redis.
43+
* Configures a big segments store instance backed by Redis.
4444
*
4545
* After calling this method, store its return value in the `store` property of your Big Segment configuration:
4646
*
47-
* $store = LaunchDarkly\Integrations\Redis::bigSegmentStore(["prefix" => "env1"]);
47+
* $store = LaunchDarkly\Integrations\Redis::bigSegmentsStore(["prefix" => "env1"]);
4848
* $bigSegmentsConfig = new LaunchDarkly\BigSegmentConfig(store: $store);
49-
* $config = ["big_segment" => $bigSegmentsConfig];
49+
* $config = ["big_segments" => $bigSegmentsConfig];
5050
* $client = new LDClient("sdk_key", $config);
5151
*
5252
* For more about using LaunchDarkly with databases, see the

0 commit comments

Comments
 (0)