Completed
Push — master ( 005ddd...9800f2 )
by frey
04:38
created
src/Plugins/Traits/TencentCloudAuthV3.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
             '%s Credential=%s/%s, SignedHeaders=%s, Signature=%s',
88 88
             'TC3-HMAC-SHA256',
89 89
             $this->getCredentials()['secretId'],
90
-            date('Y-m-d', $timestamp) . "/{$service}/tc3_request",
90
+            date('Y-m-d', $timestamp)."/{$service}/tc3_request",
91 91
             'content-type;host',
92 92
             hash_hmac(
93 93
                 'SHA256',
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
         return hash_hmac('SHA256', 'tc3_request',
109 109
             hash_hmac('SHA256', $service,
110 110
                 hash_hmac('SHA256', date('Y-m-d', $timestamp),
111
-                    'TC3' . $this->getCredentials()['secretKey'], true
111
+                    'TC3'.$this->getCredentials()['secretKey'], true
112 112
                 ), true
113 113
             ), true
114 114
         );
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
         return implode("\n", [
149 149
             'TC3-HMAC-SHA256',
150 150
             $timestamp,
151
-            date('Y-m-d', $timestamp) . "/{$service}/tc3_request",
151
+            date('Y-m-d', $timestamp)."/{$service}/tc3_request",
152 152
             hash('SHA256', $this->getCanonicalRequest($args, $service)),
153 153
         ]);
154 154
     }
Please login to merge, or discard this patch.