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.
2 parents 666cb6b + c5780ce commit 312aa49Copy full SHA for 312aa49
src/Client.php
@@ -28,7 +28,7 @@ final class Client implements HttpClient, HttpAsyncClient
28
public function __construct(ClientInterface $client = null)
29
{
30
if (!$client) {
31
- $client = static::buildClient();
+ $client = self::buildClient();
32
}
33
34
$this->client = $client;
@@ -43,7 +43,7 @@ public function __construct(ClientInterface $client = null)
43
*/
44
public static function createWithConfig(array $config)
45
46
- return new self(static::buildClient($config));
+ return new self(self::buildClient($config));
47
48
49
/**
0 commit comments