@@ -110,7 +110,7 @@ |
||
| 110 | 110 | * Create and send PSR-7 POST request |
| 111 | 111 | * |
| 112 | 112 | * @param string $path |
| 113 | - * @param resource|string|StreamInterface|null $body |
|
| 113 | + * @param string $body |
|
| 114 | 114 | * @param array|null $headers |
| 115 | 115 | * |
| 116 | 116 | * @return \Psr\Http\Message\ResponseInterface |
@@ -30,7 +30,7 @@ |
||
| 30 | 30 | * Create a new PSR-7 request |
| 31 | 31 | * |
| 32 | 32 | * @param string $method |
| 33 | - * @param string|UriInterface $uri |
|
| 33 | + * @param string $uri |
|
| 34 | 34 | * @param array|null $headers |
| 35 | 35 | * @param resource|string|StreamInterface|null $body |
| 36 | 36 | * |
@@ -4,8 +4,8 @@ |
||
| 4 | 4 | |
| 5 | 5 | use GuzzleHttp\Psr7\Response; |
| 6 | 6 | use IBM\Watson\Common\Hydrator\ArrayHydrator; |
| 7 | -use PHPUnit\Framework\TestCase; |
|
| 8 | 7 | use Mockery as m; |
| 8 | +use PHPUnit\Framework\TestCase; |
|
| 9 | 9 | |
| 10 | 10 | class ArrayHydratorTest extends TestCase |
| 11 | 11 | { |
@@ -7,8 +7,8 @@ |
||
| 7 | 7 | use GuzzleHttp\Psr7\Response; |
| 8 | 8 | use IBM\Watson\Common\Hydrator\ModelHydrator; |
| 9 | 9 | use IBM\Watson\Common\Model\CreateableFromArray; |
| 10 | -use PHPUnit\Framework\TestCase; |
|
| 11 | 10 | use Mockery as m; |
| 11 | +use PHPUnit\Framework\TestCase; |
|
| 12 | 12 | |
| 13 | 13 | class ModelHydratorTest extends TestCase |
| 14 | 14 | { |
@@ -4,8 +4,8 @@ |
||
| 4 | 4 | |
| 5 | 5 | use GuzzleHttp\Psr7\Response; |
| 6 | 6 | use IBM\Watson\Common\Hydrator\NoopHydrator; |
| 7 | -use PHPUnit\Framework\TestCase; |
|
| 8 | 7 | use Mockery as m; |
| 8 | +use PHPUnit\Framework\TestCase; |
|
| 9 | 9 | |
| 10 | 10 | class NoopHydratorTest extends TestCase |
| 11 | 11 | { |
@@ -8,8 +8,8 @@ |
||
| 8 | 8 | use IBM\Watson\Common\Hydrator\ModelHydrator; |
| 9 | 9 | use IBM\Watson\Common\RequestBuilder; |
| 10 | 10 | use IBM\Watson\ToneAnalyzer\Api\Tone; |
| 11 | -use PHPUnit\Framework\TestCase; |
|
| 12 | 11 | use Mockery as m; |
| 12 | +use PHPUnit\Framework\TestCase; |
|
| 13 | 13 | |
| 14 | 14 | class ToneTest extends TestCase |
| 15 | 15 | { |