@@ -105,7 +105,7 @@ |
||
105 | 105 | /** |
106 | 106 | * Get array from object |
107 | 107 | * |
108 | - * @param array|object $data |
|
108 | + * @param Model $data |
|
109 | 109 | * @return array |
110 | 110 | */ |
111 | 111 | protected function toArrayRecursive($data) |
@@ -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) |
@@ -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 |