Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"php-http/httplug": "^1.1",
"php-http/discovery": "^1.0",
"php-http/client-implementation": "^1.0",
"php-http/client-common": "^1.3",
"php-http/client-common": "^1.6",
"php-http/cache-plugin": "^1.4"
},
"require-dev": {
Expand Down
3 changes: 2 additions & 1 deletion lib/Github/HttpClient/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
use Http\Client\Common\Plugin;
use Http\Client\Common\Plugin\Cache\Generator\HeaderCacheKeyGenerator;
use Http\Client\Common\PluginClient;
use Http\Client\Common\PluginClientFactory;
use Http\Client\HttpClient;
use Http\Discovery\HttpClientDiscovery;
use Http\Discovery\MessageFactoryDiscovery;
Expand Down Expand Up @@ -102,7 +103,7 @@ public function getHttpClient()
}

$this->pluginClient = new HttpMethodsClient(
new PluginClient($this->httpClient, $plugins),
(new PluginClientFactory())->createClient($this->httpClient, $plugins),
$this->requestFactory
);
}
Expand Down