@@ -222,6 +222,7 @@ discard block |
||
222 | 222 | * @param array $options URL options |
223 | 223 | * @param string $body request body |
224 | 224 | * @param bool $raw if response body contains JSON and should be decoded |
225 | + * @param string $method |
|
225 | 226 | * @throws HiArtException |
226 | 227 | * @throws \yii\base\InvalidConfigException |
227 | 228 | * @return mixed response |
@@ -236,7 +237,7 @@ discard block |
||
236 | 237 | |
237 | 238 | /** |
238 | 239 | * Creates URL. |
239 | - * @param mixed $path path |
|
240 | + * @param string $path path |
|
240 | 241 | * @param array $options URL options |
241 | 242 | * @return array |
242 | 243 | */ |
@@ -423,7 +424,7 @@ discard block |
||
423 | 424 | |
424 | 425 | /** |
425 | 426 | * Try to decode error information if it is valid json, return it if not. |
426 | - * @param $body |
|
427 | + * @param string $body |
|
427 | 428 | * @return mixed |
428 | 429 | */ |
429 | 430 | protected function decodeErrorBody($body) |