@@ -95,7 +95,7 @@ discard block |
||
95 | 95 | * API constructor. |
96 | 96 | * |
97 | 97 | * @param \EasyWeChat\Payment\Merchant $merchant |
98 | - * @param \EasyWeChat\Payment\Cache|null $cache |
|
98 | + * @param null|Cache $cache |
|
99 | 99 | */ |
100 | 100 | public function __construct(Merchant $merchant, Cache $cache = null) |
101 | 101 | { |
@@ -428,7 +428,7 @@ discard block |
||
428 | 428 | * @param array $options |
429 | 429 | * @param bool $returnResponse |
430 | 430 | * |
431 | - * @return \EasyWeChat\Support\Collection|\Psr\Http\Message\ResponseInterface |
|
431 | + * @return string |
|
432 | 432 | */ |
433 | 433 | protected function request($api, array $params, $method = 'post', array $options = [], $returnResponse = false) |
434 | 434 | { |