@@ -70,7 +70,7 @@  | 
                                                    ||
| 70 | 70 | * Sends a request  | 
                                                        
| 71 | 71 | *  | 
                                                        
| 72 | 72 | * @param string $method HTTP method  | 
                                                        
| 73 | - * @param string|UriInterface $uri URI object or string.  | 
                                                        |
| 73 | + * @param string $uri URI object or string.  | 
                                                        |
| 74 | 74 | * @param array $options Request options to apply.  | 
                                                        
| 75 | 75 | *  | 
                                                        
| 76 | 76 | * @return Response  | 
                                                        
@@ -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;  | 
                                                        
@@ -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  | 
                                                        
@@ -70,7 +70,7 @@  | 
                                                    ||
| 70 | 70 | * Sends a request  | 
                                                        
| 71 | 71 | *  | 
                                                        
| 72 | 72 | * @param string $method HTTP method  | 
                                                        
| 73 | - * @param string|UriInterface $uri URI object or string.  | 
                                                        |
| 73 | + * @param string $uri URI object or string.  | 
                                                        |
| 74 | 74 | * @param array $options Request options to apply.  | 
                                                        
| 75 | 75 | *  | 
                                                        
| 76 | 76 | * @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 | * Class ContentClient  | 
                                                        
@@ -70,7 +70,7 @@  | 
                                                    ||
| 70 | 70 | * Sends a request  | 
                                                        
| 71 | 71 | *  | 
                                                        
| 72 | 72 | * @param string $method HTTP method  | 
                                                        
| 73 | - * @param string|UriInterface $uri URI object or string.  | 
                                                        |
| 73 | + * @param string $uri URI object or string.  | 
                                                        |
| 74 | 74 | * @param array $options Request options to apply.  | 
                                                        
| 75 | 75 | *  | 
                                                        
| 76 | 76 | * @return Response  | 
                                                        
@@ -207,7 +207,7 @@ discard block  | 
                                                    ||
| 207 | 207 | * Sends a request  | 
                                                        
| 208 | 208 | *  | 
                                                        
| 209 | 209 | * @param string $method HTTP method  | 
                                                        
| 210 | - * @param string|UriInterface $uri URI object or string.  | 
                                                        |
| 210 | + * @param string $uri URI object or string.  | 
                                                        |
| 211 | 211 | * @param array $options Request options to apply.  | 
                                                        
| 212 | 212 | *  | 
                                                        
| 213 | 213 | * @return Response  | 
                                                        
@@ -311,7 +311,7 @@ discard block  | 
                                                    ||
| 311 | 311 | *  | 
                                                        
| 312 | 312 | * @link https://tech.yandex.ru/market/partner/doc/dg/reference/get-campaigns-id-outlets-docpage/  | 
                                                        
| 313 | 313 | *  | 
                                                        
| 314 | - * @return Models\GetOrdersResponse  | 
                                                        |
| 314 | + * @return Models\GetOutletsResponse  | 
                                                        |
| 315 | 315 | */  | 
                                                        
| 316 | 316 | public function getOutletsResponse($params = [])  | 
                                                        
| 317 | 317 |      { |