@@ -244,7 +244,7 @@ |
||
244 | 244 | */ |
245 | 245 | public function deleteObjects(array $paths, array $options = []) |
246 | 246 | { |
247 | - $paths = array_map(function ($path) { |
|
247 | + $paths = array_map(function($path) { |
|
248 | 248 | return ['key' => ltrim($path, '/')]; |
249 | 249 | }, $paths); |
250 | 250 |
@@ -152,7 +152,7 @@ discard block |
||
152 | 152 | */ |
153 | 153 | protected function getCanonicalQueryString(array $query) |
154 | 154 | { |
155 | - $arr = array_map(function ($value, $key) { |
|
155 | + $arr = array_map(function($value, $key) { |
|
156 | 156 | return rawurlencode($key) . '=' . rawurlencode($value); |
157 | 157 | }, $query, array_keys($query)); |
158 | 158 | sort($arr); |
@@ -167,7 +167,7 @@ discard block |
||
167 | 167 | */ |
168 | 168 | protected function getCanonicalHeaders(array $headers) |
169 | 169 | { |
170 | - $arr = array_map(function ($value, $key) { |
|
170 | + $arr = array_map(function($value, $key) { |
|
171 | 171 | return rawurlencode(strtolower(trim($key))) |
172 | 172 | . ':' . rawurlencode(trim($value)); |
173 | 173 | }, $headers, array_keys($headers)); |
@@ -183,7 +183,7 @@ discard block |
||
183 | 183 | */ |
184 | 184 | protected function getSignedHeaders(array $headers) |
185 | 185 | { |
186 | - $headers = array_map(function ($header) { |
|
186 | + $headers = array_map(function($header) { |
|
187 | 187 | return rawurlencode(strtolower(trim($header))); |
188 | 188 | }, $headers); |
189 | 189 | sort($headers); |
@@ -199,7 +199,7 @@ |
||
199 | 199 | |
200 | 200 | $contentLength = strlen((string) $body); |
201 | 201 | if (!array_key_exists('content-length', $keys)) { |
202 | - $headers['Content-Length'] = $contentLength ; |
|
202 | + $headers['Content-Length'] = $contentLength; |
|
203 | 203 | } |
204 | 204 | |
205 | 205 | if (!array_key_exists('content-md5', $keys) && $contentLength) { |