@@ -15,7 +15,6 @@ |
||
15 | 15 | public function get($path, array $data = []); |
16 | 16 | |
17 | 17 | /** |
18 | - * @param string $path |
|
19 | 18 | * @param array $data |
20 | 19 | * |
21 | 20 | * @throws Exception |
@@ -250,6 +250,9 @@ |
||
250 | 250 | return $this->mockResponseBody('{"foo":"bar"}')->reveal(); |
251 | 251 | } |
252 | 252 | |
253 | + /** |
|
254 | + * @param string $responseBody |
|
255 | + */ |
|
253 | 256 | private function mockResponseBody($responseBody) |
254 | 257 | { |
255 | 258 | $response = $this->prophesize(ResponseInterface::class); |
@@ -7,7 +7,6 @@ |
||
7 | 7 | use Brofist\ApiClient\JsonInterface; |
8 | 8 | use GuzzleHttp\Client as HttpClient; |
9 | 9 | use GuzzleHttp\Exception\RequestException; |
10 | -use GuzzleHttp\Psr7\Request; |
|
11 | 10 | use PHPUnit_Framework_TestCase; |
12 | 11 | use Psr\Http\Message\RequestInterface; |
13 | 12 | use Psr\Http\Message\ResponseInterface; |