@@ -180,7 +180,7 @@ |
||
| 180 | 180 | * Set a parameter on the request |
| 181 | 181 | * |
| 182 | 182 | * @param string $key |
| 183 | - * @param mixed $value |
|
| 183 | + * @param string $value |
|
| 184 | 184 | * @return $this |
| 185 | 185 | * @throws RuntimeException |
| 186 | 186 | */ |
@@ -86,6 +86,9 @@ |
||
| 86 | 86 | return $this->httpRequest; |
| 87 | 87 | } |
| 88 | 88 | |
| 89 | + /** |
|
| 90 | + * @param string $class |
|
| 91 | + */ |
|
| 89 | 92 | public function callCreateRequest($class, array $parameters) |
| 90 | 93 | { |
| 91 | 94 | return $this->createRequest($class, $parameters); |
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace IBM\Watson\Common\Tests; |
| 4 | 4 | |
| 5 | -use Mockery as m; |
|
| 6 | 5 | use IBM\Watson\Common\Helper; |
| 6 | +use Mockery as m; |
|
| 7 | 7 | use PHPUnit\Framework\TestCase; |
| 8 | 8 | |
| 9 | 9 | class HelperTest extends TestCase |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | |
| 6 | 6 | use GuzzleHttp\Client; |
| 7 | 7 | use IBM\Watson\Common\Message\AbstractRequest; |
| 8 | -use IBM\Watson\Common\Tests\AbstractServiceTest_MockAbstractService; |
|
| 9 | 8 | use Mockery as m; |
| 10 | 9 | use PHPUnit\Framework\TestCase; |
| 11 | 10 | use Symfony\Component\HttpFoundation\Request; |