@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | /** |
98 | 98 | * @param string $pathToFile |
99 | 99 | * @param string $url |
100 | - * @return array |
|
100 | + * @return Response |
|
101 | 101 | * @throws InvalidRequestException |
102 | 102 | */ |
103 | 103 | public function upload($pathToFile, $url) |
@@ -220,7 +220,7 @@ discard block |
||
220 | 220 | } |
221 | 221 | |
222 | 222 | /** |
223 | - * @param $userAgent |
|
223 | + * @param string $userAgent |
|
224 | 224 | * @return $this |
225 | 225 | */ |
226 | 226 | public function setUserAgent($userAgent) |
@@ -299,7 +299,7 @@ discard block |
||
299 | 299 | * If we are uploading file, we should build boundary form data. Otherwise |
300 | 300 | * it is simple urlencoded form. |
301 | 301 | * |
302 | - * @return array |
|
302 | + * @return string[] |
|
303 | 303 | */ |
304 | 304 | protected function getContentTypeHeader() |
305 | 305 | { |
@@ -337,7 +337,7 @@ discard block |
||
337 | 337 | } |
338 | 338 | |
339 | 339 | /** |
340 | - * @param array|null $res |
|
340 | + * @param string $res |
|
341 | 341 | * @return Response |
342 | 342 | */ |
343 | 343 | protected function processResponse($res) |