eee
This commit is contained in:
@@ -21,11 +21,11 @@ trait WxV3PaymentTait
|
||||
{
|
||||
|
||||
/**
|
||||
* @param $orderNo
|
||||
* @param $total
|
||||
* @param string $orderNo
|
||||
* @param int $total
|
||||
* @return array
|
||||
*/
|
||||
public function getInitCore($orderNo, $total): array
|
||||
public function getInitCore(string $orderNo, int $total): array
|
||||
{
|
||||
$payConfig = $this->getPayConfig();
|
||||
if ($payConfig->typeIsApp()) {
|
||||
@@ -87,10 +87,10 @@ trait WxV3PaymentTait
|
||||
|
||||
|
||||
/**
|
||||
* @param $body
|
||||
* @param string $body
|
||||
* @return string
|
||||
*/
|
||||
public function openssl_signature($body): string
|
||||
public function openssl_signature(string $body): string
|
||||
{
|
||||
$payConfig = $this->getPayConfig();
|
||||
|
||||
@@ -102,11 +102,11 @@ trait WxV3PaymentTait
|
||||
|
||||
|
||||
/**
|
||||
* @param $json
|
||||
* @param $body
|
||||
* @param array $json
|
||||
* @param array $body
|
||||
* @return array
|
||||
*/
|
||||
private function createResponse($json, $body): array
|
||||
private function createResponse(array $json, array $body): array
|
||||
{
|
||||
$responseArray['appId'] = $body['appid'];
|
||||
$responseArray['timeStamp'] = (string)time();
|
||||
|
||||
Reference in New Issue
Block a user