@@ -199,7 +199,7 @@ discard block |
||
| 199 | 199 | * Sends a request |
| 200 | 200 | * |
| 201 | 201 | * @param string $method HTTP method |
| 202 | - * @param string|UriInterface $uri URI object or string. |
|
| 202 | + * @param string $uri URI object or string. |
|
| 203 | 203 | * @param array $options Request options to apply. |
| 204 | 204 | * |
| 205 | 205 | * @return Response |
@@ -309,7 +309,7 @@ discard block |
||
| 309 | 309 | * Get only orders data without pagination |
| 310 | 310 | * |
| 311 | 311 | * @param array $params |
| 312 | - * @return null|Models\Orders |
|
| 312 | + * @return Models\Orders |
|
| 313 | 313 | */ |
| 314 | 314 | public function getOrders($params = []) |
| 315 | 315 | { |
@@ -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 |
@@ -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 |