@@ -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 |
@@ -125,7 +125,7 @@ discard block |
||
| 125 | 125 | $response = $httpClient->request('GET', $object->getMediaLink()); |
| 126 | 126 | if ($response->getStatusCode() == 200) { |
| 127 | 127 | $this->setMetadata($key, $object->getMetadata()); |
| 128 | - return (string)$response->getBody(); |
|
| 128 | + return (string) $response->getBody(); |
|
| 129 | 129 | } |
| 130 | 130 | } |
| 131 | 131 | |
@@ -284,7 +284,7 @@ discard block |
||
| 284 | 284 | */ |
| 285 | 285 | public function isDirectory($key) |
| 286 | 286 | { |
| 287 | - if ($this->exists($key . '/')) { |
|
| 287 | + if ($this->exists($key.'/')) { |
|
| 288 | 288 | return true; |
| 289 | 289 | } |
| 290 | 290 | |