Skip to content

Commit 080c4bd

Browse files
authored
Update README.md
1 parent cfab047 commit 080c4bd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,8 @@ $config = \DCarbone\PHPConsulAPI\Config::newDefaultConfig();
5353
*NOTE*: This method will attempt to locate a loaded Http Client based upon the array defined
5454
[here](./src/Config.php#L98).
5555

56-
If you are using a PSR-7 compliant Http Client that does NOT have a pre-built adapter but DOES,
57-
that is ok! You may use the below function to construct a configuration file with defaults and your own
58-
Http Client instance:
56+
If you are using a PSR-7 compliant Http Client that does NOT have a pre-built adapter,
57+
that is ok! You simply need to create a thin wrapper around your client that implements the [HttpClient](https://github.com/php-http/httplug/blob/master/src/HttpClient.php) interface and use the below function to construct a config object with defaults and your wrapper instance:
5958

6059
```php
6160
$myClient = my\psr7\http_client();

0 commit comments

Comments
 (0)