mirror of
https://gitee.com/yansongda/pay.git
synced 2024-11-29 18:58:38 +08:00
Merge branch 'v3.0' of github.com:yansongda/pay into v3.0
This commit is contained in:
commit
746d607943
@ -5,7 +5,6 @@ declare(strict_types=1);
|
||||
namespace Yansongda\Pay\Contract;
|
||||
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use Psr\Http\Message\ServerRequestInterface;
|
||||
use Yansongda\Supports\Collection;
|
||||
|
||||
interface ProviderInterface
|
||||
@ -51,7 +50,7 @@ interface ProviderInterface
|
||||
/**
|
||||
* Verify a request.
|
||||
*
|
||||
* @param array|ServerRequestInterface|null $contents
|
||||
* @param array|\Psr\Http\Message\ServerRequestInterface|null $contents
|
||||
*/
|
||||
public function callback($contents = null, ?array $params = null): Collection;
|
||||
|
||||
|
@ -117,7 +117,7 @@ class Alipay extends AbstractProvider
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array|ServerRequestInterface|null $contents
|
||||
* @param array|\Psr\Http\Message\ServerRequestInterface|null $contents
|
||||
*
|
||||
* @throws \Yansongda\Pay\Exception\ContainerDependencyException
|
||||
* @throws \Yansongda\Pay\Exception\ContainerException
|
||||
|
@ -112,6 +112,8 @@ class Wechat extends AbstractProvider
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array|\Psr\Http\Message\ServerRequestInterface|null $contents
|
||||
*
|
||||
* @throws \Yansongda\Pay\Exception\ContainerDependencyException
|
||||
* @throws \Yansongda\Pay\Exception\ContainerException
|
||||
* @throws \Yansongda\Pay\Exception\InvalidParamsException
|
||||
|
Loading…
Reference in New Issue
Block a user