Merge branch 'v3.0' of github.com:yansongda/pay into v3.0

This commit is contained in:
yansongda 2021-07-19 22:36:58 +08:00
commit 746d607943
3 changed files with 4 additions and 3 deletions

View File

@ -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;

View File

@ -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

View File

@ -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