Skip to content

Commit 2261375

Browse files
committed
Update README.md
1 parent 6d67f34 commit 2261375

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ Clients::prefer('guzzlehttp/guzzle');
117117
// Return an instance of GuzzleHttp\Client,
118118
// or the next available from the list of candidates,
119119
// Returns null if none are discovered.
120-
$factory = Discover::httpClient();
120+
$client = Discover::httpClient();
121121
```
122122

123123
This will cause the `httpClient()` method to return the preferred implementation if it is available, otherwise, it will fall back to the default behavior.
@@ -137,7 +137,7 @@ Clients::use('guzzlehttp/guzzle');
137137

138138
// Return an instance of GuzzleHttp\Client,
139139
// or null if it is not available.
140-
$factory = Discover::httpClient();
140+
$client = Discover::httpClient();
141141
```
142142

143143
This will cause the `httpClient()` method to return the preferred implementation if it is available, otherwise, it will return `null`.

0 commit comments

Comments
 (0)