Skip to content

Commit 92a83ce

Browse files
authored
minor #910 [3.x] Fix the HTTP methods client (GrahamCampbell)
This PR was merged into the 3.0.x-dev branch. Discussion ---------- ~Depends on php-http/client-common#202 EDIT: merged and released. Commits ------- d934db0 Fix the HTTP methods client
2 parents 432d2a8 + d934db0 commit 92a83ce

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
],
1919
"require": {
2020
"php": "^7.1",
21-
"php-http/client-common": "^2.2",
21+
"php-http/client-common": "^2.3",
2222
"php-http/cache-plugin": "^1.7",
2323
"php-http/discovery": "^1.9",
2424
"php-http/httplug": "^2.1",

lib/Github/HttpClient/Builder.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ public function getHttpClient()
102102

103103
$this->pluginClient = new HttpMethodsClient(
104104
(new PluginClientFactory())->createClient($this->httpClient, $plugins),
105-
$this->requestFactory
105+
$this->requestFactory,
106+
$this->streamFactory
106107
);
107108
}
108109

0 commit comments

Comments
 (0)