@@ -94,7 +94,7 @@ |
||
| 94 | 94 | * {@inheritdoc} |
| 95 | 95 | * |
| 96 | 96 | * @param RequestInterface $request |
| 97 | - * @return ResponseInterface|null |
|
| 97 | + * @return \GuzzleHttp\Message\ResponseInterface|null |
|
| 98 | 98 | */ |
| 99 | 99 | public function send(RequestInterface $request) |
| 100 | 100 | { |
@@ -23,7 +23,7 @@ discard block |
||
| 23 | 23 | * {@inheritdoc} |
| 24 | 24 | * |
| 25 | 25 | * @param string $method HTTP method (GET, POST, PUT, etc.) |
| 26 | - * @param string|Url $url HTTP URL to connect to |
|
| 26 | + * @param string $url HTTP URL to connect to |
|
| 27 | 27 | * @param array $options Array of options to apply to the request |
| 28 | 28 | * |
| 29 | 29 | * @return RequestInterface |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | * |
| 52 | 52 | * @param string $statusCode HTTP status code |
| 53 | 53 | * @param array $headers Response headers |
| 54 | - * @param mixed $body Response body |
|
| 54 | + * @param string $body Response body |
|
| 55 | 55 | * @param array $options Response options |
| 56 | 56 | * - protocol_version: HTTP protocol version |
| 57 | 57 | * - header_factory: Factory used to create headers |
@@ -14,7 +14,6 @@ |
||
| 14 | 14 | |
| 15 | 15 | use Graze\GuzzleHttp\JsonRpc\Message\RequestInterface; |
| 16 | 16 | use Graze\GuzzleHttp\JsonRpc\Test\UnitTestCase; |
| 17 | -use Mockery; |
|
| 18 | 17 | |
| 19 | 18 | class ClientTest extends UnitTestCase |
| 20 | 19 | { |
@@ -12,7 +12,6 @@ |
||
| 12 | 12 | */ |
| 13 | 13 | namespace Graze\GuzzleHttp\JsonRpc\Message; |
| 14 | 14 | |
| 15 | -use Graze\GuzzleHttp\JsonRpc\ClientInterface; |
|
| 16 | 15 | use Graze\GuzzleHttp\JsonRpc\Test\UnitTestCase; |
| 17 | 16 | |
| 18 | 17 | class RequestTest extends UnitTestCase |
@@ -12,7 +12,6 @@ |
||
| 12 | 12 | */ |
| 13 | 13 | namespace Graze\GuzzleHttp\JsonRpc\Message; |
| 14 | 14 | |
| 15 | -use Graze\GuzzleHttp\JsonRpc\ClientInterface; |
|
| 16 | 15 | use Graze\GuzzleHttp\JsonRpc\Test\UnitTestCase; |
| 17 | 16 | |
| 18 | 17 | class ResponseTest extends UnitTestCase |