We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c37f5f2 commit 51d8d8aCopy full SHA for 51d8d8a
lib/Gitlab/HttpClient/Builder.php
@@ -5,6 +5,7 @@
5
use Http\Client\Common\HttpMethodsClient;
6
use Http\Client\Common\Plugin;
7
use Http\Client\Common\PluginClient;
8
+use Http\Client\Common\PluginClientFactory;
9
use Http\Client\HttpClient;
10
use Http\Discovery\HttpClientDiscovery;
11
use Http\Discovery\MessageFactoryDiscovery;
@@ -81,7 +82,7 @@ public function getHttpClient()
81
82
$this->httpClientModified = false;
83
84
$this->pluginClient = new HttpMethodsClient(
- new PluginClient($this->httpClient, $this->plugins),
85
+ (new PluginClientFactory())->createClient($this->httpClient, $this->plugins),
86
$this->requestFactory
87
);
88
}
0 commit comments