@@ -68,7 +68,7 @@ |
||
| 68 | 68 | } |
| 69 | 69 | |
| 70 | 70 | /** |
| 71 | - * @return int |
|
| 71 | + * @return string |
|
| 72 | 72 | */ |
| 73 | 73 | public function getStripeCustomerId() |
| 74 | 74 | { |
@@ -137,7 +137,7 @@ discard block |
||
| 137 | 137 | /** |
| 138 | 138 | * Fetch and build entity. |
| 139 | 139 | * |
| 140 | - * @param $uri |
|
| 140 | + * @param string $uri |
|
| 141 | 141 | * @param string $method |
| 142 | 142 | * @param null $body |
| 143 | 143 | * @param array $headers |
@@ -341,7 +341,7 @@ discard block |
||
| 341 | 341 | * @param null $body |
| 342 | 342 | * @param array $headers |
| 343 | 343 | * |
| 344 | - * @return mixed|ResponseInterface |
|
| 344 | + * @return ResponseInterface |
|
| 345 | 345 | */ |
| 346 | 346 | protected function fetchSimple($uri, $method = 'GET', $body = null, $headers = []) |
| 347 | 347 | { |
@@ -351,7 +351,7 @@ discard block |
||
| 351 | 351 | /** |
| 352 | 352 | * Fetch as json object. |
| 353 | 353 | * |
| 354 | - * @param $uri |
|
| 354 | + * @param string $uri |
|
| 355 | 355 | * @param string $method |
| 356 | 356 | * @param null $body |
| 357 | 357 | * @param array $headers |
@@ -2,11 +2,11 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Neta\Shopware\SDK\Query; |
| 4 | 4 | |
| 5 | +use Neta\Shopware\SDK\Exception\MethodNotAllowedException; |
|
| 5 | 6 | use Neta\Shopware\SDK\ShopwareClient; |
| 6 | 7 | use Neta\Shopware\SDK\Util\ArrayUtil; |
| 7 | 8 | use Neta\Shopware\SDK\Util\Constants; |
| 8 | 9 | use Psr\Http\Message\ResponseInterface; |
| 9 | -use Neta\Shopware\SDK\Exception\MethodNotAllowedException; |
|
| 10 | 10 | |
| 11 | 11 | /** |
| 12 | 12 | * Class Base. |