@@ -112,9 +112,9 @@ discard block |
||
| 112 | 112 | |
| 113 | 113 | // Create the Credentials instance with the credentials from the environment |
| 114 | 114 | $credentials = new \Aws\Credentials\Credentials( |
| 115 | - $host['aws_key'], |
|
| 116 | - $host['aws_secret'], |
|
| 117 | - env('AWS_SESSION_TOKEN') ?? null |
|
| 115 | + $host['aws_key'], |
|
| 116 | + $host['aws_secret'], |
|
| 117 | + env('AWS_SESSION_TOKEN') ?? null |
|
| 118 | 118 | ); |
| 119 | 119 | // check if the aws_credentials from config is set and if it contains a Credentials instance |
| 120 | 120 | if (!empty($host['aws_credentials']) && $host['aws_credentials'] instanceof \Aws\Credentials\Credentials) { |
@@ -148,7 +148,7 @@ discard block |
||
| 148 | 148 | 'status' => $response->getStatusCode(), |
| 149 | 149 | 'headers' => $response->getHeaders(), |
| 150 | 150 | 'body' => $response->getBody() |
| 151 | - ->detach(), |
|
| 151 | + ->detach(), |
|
| 152 | 152 | 'transfer_stats' => ['total_time' => 0], |
| 153 | 153 | 'effective_url' => (string)$psr7Request->getUri(), |
| 154 | 154 | ]); |