@@ -93,7 +93,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | } |