@@ -270,7 +270,7 @@ |
||
| 270 | 270 | */ |
| 271 | 271 | public function isDirectory($key) |
| 272 | 272 | { |
| 273 | - if ($this->exists($key . '/')) { |
|
| 273 | + if ($this->exists($key.'/')) { |
|
| 274 | 274 | return true; |
| 275 | 275 | } |
| 276 | 276 | |
@@ -89,7 +89,7 @@ |
||
| 89 | 89 | } else { |
| 90 | 90 | $before = substr($this->content, 0, $this->position); |
| 91 | 91 | $after = $newNumBytes > $newPosition ? substr($this->content, $newPosition) : ''; |
| 92 | - $this->content = $before . $data . $after; |
|
| 92 | + $this->content = $before.$data.$after; |
|
| 93 | 93 | } |
| 94 | 94 | |
| 95 | 95 | $this->position = $newPosition; |
@@ -106,7 +106,7 @@ discard block |
||
| 106 | 106 | $this->ensureBucketExists(); |
| 107 | 107 | $options = $this->getOptions( |
| 108 | 108 | $targetKey, |
| 109 | - ['CopySource' => $this->bucket . '/' . $this->computePath($sourceKey)] |
|
| 109 | + ['CopySource' => $this->bucket.'/'.$this->computePath($sourceKey)] |
|
| 110 | 110 | ); |
| 111 | 111 | |
| 112 | 112 | try { |
@@ -247,7 +247,7 @@ discard block |
||
| 247 | 247 | { |
| 248 | 248 | $result = $this->service->listObjectsV2([ |
| 249 | 249 | 'Bucket' => $this->bucket, |
| 250 | - 'Prefix' => rtrim($this->computePath($key), '/') . '/', |
|
| 250 | + 'Prefix' => rtrim($this->computePath($key), '/').'/', |
|
| 251 | 251 | 'MaxKeys' => 1, |
| 252 | 252 | ]); |
| 253 | 253 | |
@@ -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)) { |