@@ -155,6 +155,9 @@ |
||
| 155 | 155 | $this->psr7Request->withHeader("Accept", "application/json"); |
| 156 | 156 | } |
| 157 | 157 | |
| 158 | + /** |
|
| 159 | + * @param integer $code |
|
| 160 | + */ |
|
| 158 | 161 | public function assertResponseCode($code) |
| 159 | 162 | { |
| 160 | 163 | $this->statusExpected = $code; |
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | * @param array|null $query |
| 61 | 61 | * @param array|null $requestBody |
| 62 | 62 | * @param array $requestHeader |
| 63 | - * @return mixed |
|
| 63 | + * @return \Psr\Http\Message\ResponseInterface |
|
| 64 | 64 | * @throws DefinitionNotFoundException |
| 65 | 65 | * @throws GenericSwaggerException |
| 66 | 66 | * @throws HttpMethodNotFoundException |
@@ -101,7 +101,7 @@ discard block |
||
| 101 | 101 | |
| 102 | 102 | /** |
| 103 | 103 | * @param AbstractRequester $request |
| 104 | - * @return mixed |
|
| 104 | + * @return \Psr\Http\Message\ResponseInterface |
|
| 105 | 105 | * @throws DefinitionNotFoundException |
| 106 | 106 | * @throws GenericSwaggerException |
| 107 | 107 | * @throws HttpMethodNotFoundException |