@@ -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 | /** |
@@ -81,7 +81,7 @@ |
||
81 | 81 | /** |
82 | 82 | * Get array from object |
83 | 83 | * |
84 | - * @param array|object $data |
|
84 | + * @param MarketModel $data |
|
85 | 85 | * @return array |
86 | 86 | */ |
87 | 87 | protected function toArrayRecursive($data) |
@@ -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 |
@@ -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 |