diff --git a/src/Gateways/QcloudGateway.php b/src/Gateways/QcloudGateway.php index 493b3d013759e0b7d76b30789b4834a8f4746172..519f3fcebe39b0a76008eb0c9d55451c38581be0 100644 --- a/src/Gateways/QcloudGateway.php +++ b/src/Gateways/QcloudGateway.php @@ -96,10 +96,12 @@ class QcloudGateway extends Gateway { ksort($params); - return hash('sha256', sprintf('appkey=%s&random=%s&time=%s&mobile=%s', - $this->config->get('app_key'), - $random, - $params['time'], - $params['tel']['mobile']), false); + return hash('sha256', sprintf( + 'appkey=%s&random=%s&time=%s&mobile=%s', + $this->config->get('app_key'), + $random, + $params['time'], + $params['tel']['mobile'] + ), false); } }