Skip to content

Commit 2a80705

Browse files
committed
Fix signatures
1 parent 236a8ea commit 2a80705

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

spec/HttpMethodsClientSpec.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ class HttpMethodsClientStub extends HttpMethodsClient
100100
/**
101101
* {@inheritdoc}
102102
*/
103-
public function send($method, $uri, array $headers = [], $body = null)
103+
public function send($method, $uri, array $headers = [], $body = null): ResponseInterface
104104
{
105105
if (in_array($method, ['GET', 'HEAD', 'TRACE'])) {
106106
return $uri === self::$requestData['uri'] &&

src/HttpClientPool/RoundRobinClientPool.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
use Http\Client\Common\Exception\HttpClientNotFoundException;
66
use Http\Client\Common\HttpClientPool;
7+
use Http\Client\Common\HttpClientPoolItem;
78

89
/**
910
* RoundRobinClientPool will choose the next client in the pool.

0 commit comments

Comments
 (0)