fix: 微信注释中返回类型错误 (#630)

* fix: 微信注释中返回类型错误

* fix: 微信注释中返回类型错误
This commit is contained in:
yansongda 2022-07-14 15:51:15 +08:00 committed by GitHub
parent d56f0527d6
commit cc8ad8cafa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 6 deletions

View File

@ -1,3 +1,9 @@
## v3.1.6
### fixed
- fix: 微信注释中返回类型错误(#630)
## v3.1.5
### added

View File

@ -34,7 +34,7 @@ class FindRefundPlugin extends GeneralPlugin
$config = get_wechat_config($rocket->getParams());
$url = parent::getPartnerUri($rocket);
return $url.'?sub_mchid='.($rocket->getPayload()->get('sub_mchid', $config->get('sub_mch_id')));
return $url.'?sub_mchid='.$rocket->getPayload()->get('sub_mchid', $config->get('sub_mch_id'));
}
protected function getMethod(): string

View File

@ -21,11 +21,11 @@ use Yansongda\Supports\Collection;
use Yansongda\Supports\Str;
/**
* @method ResponseInterface app(array $order) APP 支付
* @method Collection mini(array $order) 小程序支付
* @method Collection mp(array $order) 公众号支付
* @method Collection scan(array $order) 扫码支付
* @method ResponseInterface wap(array $order) H5 支付
* @method Collection app(array $order) APP 支付
* @method Collection mini(array $order) 小程序支付
* @method Collection mp(array $order) 公众号支付
* @method Collection scan(array $order) 扫码支付
* @method Collection wap(array $order) H5 支付
*/
class Wechat extends AbstractProvider
{