Skip to content

Commit 240efd8

Browse files
committed
Require a ClientInterface
1 parent 5fc9d7d commit 240efd8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

iPublications/Profit/GuzzleAdapterClient.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
class GuzzleAdapterClient implements Client
66
{
77
/**
8-
* @var \GuzzleHttp\Client
8+
* @var \GuzzleHttp\ClientInterface
99
*/
1010
protected $client;
1111

@@ -34,7 +34,7 @@ class GuzzleAdapterClient implements Client
3434
*/
3535
protected $options;
3636

37-
public function __construct(\GuzzleHttp\Client $client = null)
37+
public function __construct(\GuzzleHttp\ClientInterface $client = null)
3838
{
3939
$this->client = $client ? $client : new \GuzzleHttp\Client;
4040
}

0 commit comments

Comments
 (0)