@@ -11,7 +11,6 @@ |
||
| 11 | 11 | */ |
| 12 | 12 | namespace Yandex\OAuth; |
| 13 | 13 | |
| 14 | -use GuzzleHttp\Client; |
|
| 15 | 14 | use GuzzleHttp\Exception\ClientException; |
| 16 | 15 | use GuzzleHttp\Exception\RequestException; |
| 17 | 16 | use Yandex\Common\AbstractServiceClient; |
@@ -142,7 +142,7 @@ |
||
| 142 | 142 | * Sends a request |
| 143 | 143 | * |
| 144 | 144 | * @param string $method HTTP method |
| 145 | - * @param string|UriInterface $uri URI object or string. |
|
| 145 | + * @param string $uri URI object or string. |
|
| 146 | 146 | * @param array $options Request options to apply. |
| 147 | 147 | * |
| 148 | 148 | * @return Response |
@@ -142,7 +142,7 @@ |
||
| 142 | 142 | * Sends a request |
| 143 | 143 | * |
| 144 | 144 | * @param string $method HTTP method |
| 145 | - * @param string|UriInterface $uri URI object or string. |
|
| 145 | + * @param string $uri URI object or string. |
|
| 146 | 146 | * @param array $options Request options to apply. |
| 147 | 147 | * |
| 148 | 148 | * @return Response |
@@ -142,7 +142,7 @@ |
||
| 142 | 142 | * Sends a request |
| 143 | 143 | * |
| 144 | 144 | * @param string $method HTTP method |
| 145 | - * @param string|UriInterface $uri URI object or string. |
|
| 145 | + * @param string $uri URI object or string. |
|
| 146 | 146 | * @param array $options Request options to apply. |
| 147 | 147 | * |
| 148 | 148 | * @return Response |
@@ -20,7 +20,6 @@ |
||
| 20 | 20 | use Yandex\Common\Exception\ForbiddenException; |
| 21 | 21 | use Yandex\Common\Exception\UnauthorizedException; |
| 22 | 22 | use Yandex\Market\Content\Exception\ContentRequestException; |
| 23 | -use Yandex\Market\Content\Models; |
|
| 24 | 23 | |
| 25 | 24 | |
| 26 | 25 | /** |
@@ -295,7 +295,7 @@ |
||
| 295 | 295 | * Sends a request |
| 296 | 296 | * |
| 297 | 297 | * @param string $method HTTP method |
| 298 | - * @param UriInterface|string $uri URI object or string. |
|
| 298 | + * @param string $uri URI object or string. |
|
| 299 | 299 | * @param array $options Request options to apply. |
| 300 | 300 | * |
| 301 | 301 | * @return Response|\Psr\Http\Message\ResponseInterface |
@@ -129,7 +129,7 @@ discard block |
||
| 129 | 129 | } |
| 130 | 130 | |
| 131 | 131 | /** |
| 132 | - * @return mixed |
|
| 132 | + * @return \DateTime |
|
| 133 | 133 | */ |
| 134 | 134 | public function getExpiresIn() |
| 135 | 135 | { |
@@ -295,7 +295,7 @@ discard block |
||
| 295 | 295 | * Sends a request |
| 296 | 296 | * |
| 297 | 297 | * @param string $method HTTP method |
| 298 | - * @param string|UriInterface $uri URI object or string. |
|
| 298 | + * @param string $uri URI object or string. |
|
| 299 | 299 | * @param array $options Request options to apply. |
| 300 | 300 | * |
| 301 | 301 | * @throws Exception\MissedArgumentException |
@@ -217,7 +217,7 @@ discard block |
||
| 217 | 217 | * Sends a request |
| 218 | 218 | * |
| 219 | 219 | * @param string $method HTTP method |
| 220 | - * @param string|UriInterface $uri URI object or string. |
|
| 220 | + * @param string $uri URI object or string. |
|
| 221 | 221 | * @param array $options Request options to apply. |
| 222 | 222 | * |
| 223 | 223 | * @return Response |
@@ -282,7 +282,7 @@ discard block |
||
| 282 | 282 | * |
| 283 | 283 | * @see http://api.yandex.ru/market/partner/doc/dg/reference/get-campaigns.xml |
| 284 | 284 | * |
| 285 | - * @return Campaigns |
|
| 285 | + * @return Models\Campaigns|null |
|
| 286 | 286 | */ |
| 287 | 287 | public function getCampaigns() |
| 288 | 288 | { |
@@ -430,7 +430,7 @@ discard block |
||
| 430 | 430 | * Filter query params |
| 431 | 431 | * |
| 432 | 432 | * @param array $params |
| 433 | - * @return array |
|
| 433 | + * @return string |
|
| 434 | 434 | */ |
| 435 | 435 | private function filterParams(array $params) |
| 436 | 436 | { |