From d934db040114662c67dc120c142cc5fba30beef6 Mon Sep 17 00:00:00 2001 From: Graham Campbell Date: Sat, 18 Jul 2020 20:48:18 +0100 Subject: [PATCH] Fix the HTTP methods client --- composer.json | 2 +- lib/Github/HttpClient/Builder.php | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 0d253946dcb..047d4646238 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ ], "require": { "php": "^7.1", - "php-http/client-common": "^2.2", + "php-http/client-common": "^2.3", "php-http/cache-plugin": "^1.7", "php-http/discovery": "^1.9", "php-http/httplug": "^2.1", diff --git a/lib/Github/HttpClient/Builder.php b/lib/Github/HttpClient/Builder.php index 47d46527928..bbf35d1b4bf 100644 --- a/lib/Github/HttpClient/Builder.php +++ b/lib/Github/HttpClient/Builder.php @@ -102,7 +102,8 @@ public function getHttpClient() $this->pluginClient = new HttpMethodsClient( (new PluginClientFactory())->createClient($this->httpClient, $plugins), - $this->requestFactory + $this->requestFactory, + $this->streamFactory ); }