@@ -165,7 +165,7 @@ discard block |
||
| 165 | 165 | public function deleteDir($dirname) |
| 166 | 166 | { |
| 167 | 167 | try { |
| 168 | - $this->client->deleteObject(rtrim($dirname, '/') . '/'); |
|
| 168 | + $this->client->deleteObject(rtrim($dirname, '/').'/'); |
|
| 169 | 169 | } catch (Exception $exception) { |
| 170 | 170 | return false; |
| 171 | 171 | } |
@@ -185,7 +185,7 @@ discard block |
||
| 185 | 185 | { |
| 186 | 186 | try { |
| 187 | 187 | $this->client->putObject( |
| 188 | - rtrim($dirname, '/') . '/', |
|
| 188 | + rtrim($dirname, '/').'/', |
|
| 189 | 189 | '', |
| 190 | 190 | $this->extractOptions($config) |
| 191 | 191 | ); |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | */ |
| 38 | 38 | protected function normalizeMeta(array $meta, $path) |
| 39 | 39 | { |
| 40 | - $result = Util::pathinfo($path); |
|
| 40 | + $result = Util::pathinfo($path); |
|
| 41 | 41 | |
| 42 | 42 | if (isset($meta['Last-Modified'])) { |
| 43 | 43 | $result['timestamp'] = strtotime($meta['Last-Modified']); |