Skip to content

Commit 684367c

Browse files
authored
fix: flagd documentation (#83)
Signed-off-by: Leopold Jacquot <[email protected]>
1 parent 3727b13 commit 684367c

File tree

5 files changed

+3
-77
lines changed

5 files changed

+3
-77
lines changed

Diff for: providers/Flagd/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ OpenFeatureAPI::setProvider(new FlagdProvider([
3737
'host' => 'localhost',
3838
'port' => 8013,
3939
'secure' => true,
40-
'http' => [
40+
'httpConfig' => [
4141
'client' => $client,
4242
'requestFactory' => $requestFactory,
4343
'streamFactory' => $streamFactory,
@@ -49,7 +49,7 @@ OpenFeatureAPI::setProvider(new FlagdProvider([
4949
- **host**: string _(defaults to "localhost")_
5050
- **port**: number _(defaults to 8013)_
5151
- **secure**: true | false _(defaults to false)_
52-
- **http**: An array or `HttpConfig` object, providing implementations for PSR interfaces
52+
- **httpConfig**: An array or `HttpConfig` object, providing implementations for PSR interfaces
5353
- **client**: a `ClientInterface` implementation
5454
- **requestFactory**: a `RequestFactoryInterface` implementation
5555
- **streamFactory**: a `StreamFactoryInterface` implementation

Diff for: providers/Flagd/examples/Grpc/README.md

-5
This file was deleted.

Diff for: providers/Flagd/examples/Grpc/composer.json

-21
This file was deleted.

Diff for: providers/Flagd/examples/Grpc/src/main.php

-39
This file was deleted.

Diff for: providers/Flagd/examples/Http/README.md

+1-10
Original file line numberDiff line numberDiff line change
@@ -1,10 +1 @@
1-
# OpenFeature flagd HTTP example
2-
3-
4-
> ⚠️ Warning
5-
>
6-
> This example is based on currently unimplemented code.
7-
> It may also never be provided, such that only gRPC is
8-
> available, pending design decisions on the underlying
9-
> `flagd` service
10-
1+
# OpenFeature flagd HTTP example

0 commit comments

Comments
 (0)