@@ -163,7 +163,7 @@ discard block |
||
163 | 163 | public function deleteDir($dirname) |
164 | 164 | { |
165 | 165 | try { |
166 | - $this->client->deleteObject(rtrim($dirname, '/') . '/'); |
|
166 | + $this->client->deleteObject(rtrim($dirname, '/').'/'); |
|
167 | 167 | } catch (Exception $exception) { |
168 | 168 | return false; |
169 | 169 | } |
@@ -183,7 +183,7 @@ discard block |
||
183 | 183 | { |
184 | 184 | try { |
185 | 185 | $this->client->putObject( |
186 | - rtrim($dirname, '/') . '/', |
|
186 | + rtrim($dirname, '/').'/', |
|
187 | 187 | '', |
188 | 188 | $this->extractOptions($config) |
189 | 189 | ); |
@@ -422,7 +422,7 @@ discard block |
||
422 | 422 | */ |
423 | 423 | protected function normalizeMeta(array $meta, $path) |
424 | 424 | { |
425 | - $result = Util::pathinfo($path); |
|
425 | + $result = Util::pathinfo($path); |
|
426 | 426 | |
427 | 427 | if (isset($meta['Last-Modified'])) { |
428 | 428 | $result['timestamp'] = strtotime($meta['Last-Modified']); |