Skip to content

Commit d934db0

Browse files
Fix the HTTP methods client
1 parent 432d2a8 commit d934db0

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)