@@ -257,11 +257,11 @@ |
||
257 | 257 | $key = !empty($parts['path']) ? substr($parts['path'], 1) : ''; |
258 | 258 | |
259 | 259 | if (null !== $parts['query']) { |
260 | - $key .= '?' . $parts['query']; |
|
260 | + $key .= '?'.$parts['query']; |
|
261 | 261 | } |
262 | 262 | |
263 | 263 | if (null !== $parts['fragment']) { |
264 | - $key .= '#' . $parts['fragment']; |
|
264 | + $key .= '#'.$parts['fragment']; |
|
265 | 265 | } |
266 | 266 | |
267 | 267 | if (empty($domain) || empty($key)) { |
@@ -186,7 +186,7 @@ |
||
186 | 186 | return [ |
187 | 187 | 'dirs' => [], |
188 | 188 | 'keys' => array_map( |
189 | - function ($value) { |
|
189 | + function($value) { |
|
190 | 190 | return $value['_key']; |
191 | 191 | }, |
192 | 192 | $keys |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | if ($response->getStatusCode() == 200) { |
127 | 127 | $this->setMetadata($key, $object->getMetadata()); |
128 | 128 | |
129 | - return (string)$response->getBody(); |
|
129 | + return (string) $response->getBody(); |
|
130 | 130 | } |
131 | 131 | } |
132 | 132 | |
@@ -285,7 +285,7 @@ discard block |
||
285 | 285 | */ |
286 | 286 | public function isDirectory($key) |
287 | 287 | { |
288 | - if ($this->exists($key . '/')) { |
|
288 | + if ($this->exists($key.'/')) { |
|
289 | 289 | return true; |
290 | 290 | } |
291 | 291 |