Passed
Push — master ( 13be56...ad75bb )
by frey
02:48
created
src/Plugins/Traits/TencentCloudAuthV3.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
             '%s Credential=%s/%s, SignedHeaders=%s, Signature=%s',
94 94
             'TC3-HMAC-SHA256',
95 95
             $this->getCredentials()['secretId'],
96
-            date('Y-m-d', $timestamp) . "/{$service}/tc3_request",
96
+            date('Y-m-d', $timestamp)."/{$service}/tc3_request",
97 97
             'content-type;host',
98 98
             hash_hmac(
99 99
                 'SHA256',
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
         $secretDate = hash_hmac(
115 115
             'SHA256',
116 116
             date('Y-m-d', $timestamp),
117
-            'TC3' . $this->getCredentials()['secretKey'],
117
+            'TC3'.$this->getCredentials()['secretKey'],
118 118
             true
119 119
         );
120 120
         $secretService = hash_hmac('SHA256', $service, $secretDate, true);
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
         return implode("\n", [
154 154
             'TC3-HMAC-SHA256',
155 155
             $timestamp,
156
-            date('Y-m-d', $timestamp) . "/{$service}/tc3_request",
156
+            date('Y-m-d', $timestamp)."/{$service}/tc3_request",
157 157
             hash('SHA256', $this->getCanonicalRequest($service, $body)),
158 158
         ]);
159 159
     }
Please login to merge, or discard this patch.