From cfa8a122a44d2a9c2ae5e7608f80b9eca2fd1496 Mon Sep 17 00:00:00 2001 From: Five Percent Date: Sat, 27 Jan 2018 10:48:21 +0800 Subject: [PATCH] fix code style. (#81) --- src/Gateways/QcloudGateway.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/Gateways/QcloudGateway.php b/src/Gateways/QcloudGateway.php index 493b3d0..519f3fc 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); } } -- GitLab