@@ -217,6 +217,7 @@ discard block |
||
217 | 217 | * @param array $options URL options |
218 | 218 | * @param string $body request body |
219 | 219 | * @param bool $raw if response body contains JSON and should be decoded |
220 | + * @param string $method |
|
220 | 221 | * @throws HiArtException |
221 | 222 | * @throws \yii\base\InvalidConfigException |
222 | 223 | * @return mixed response |
@@ -229,9 +230,9 @@ discard block |
||
229 | 230 | } |
230 | 231 | /** |
231 | 232 | * Creates URL. |
232 | - * @param mixed $path path |
|
233 | + * @param string $path path |
|
233 | 234 | * @param array $options URL options |
234 | - * @return array |
|
235 | + * @return string |
|
235 | 236 | */ |
236 | 237 | private function createUrl($path, array $options = []) |
237 | 238 | { |
@@ -390,7 +391,7 @@ discard block |
||
390 | 391 | |
391 | 392 | /** |
392 | 393 | * Try to decode error information if it is valid json, return it if not. |
393 | - * @param $body |
|
394 | + * @param string $body |
|
394 | 395 | * @return mixed |
395 | 396 | */ |
396 | 397 | protected function decodeErrorBody($body) |