Passed
Push — master ( 65d7d1...6ce06d )
by Thomas
10:12
created
src/BaiduBosAdapter.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
     {
188 188
         try {
189 189
             $this->client->putObject(
190
-                rtrim($path, '/') . '/',
190
+                rtrim($path, '/').'/',
191 191
                 '',
192 192
                 $this->extractOptions($config)
193 193
             );
@@ -286,7 +286,7 @@  discard block
 block discarded – undo
286 286
     public function deleteDirectory(string $path): void
287 287
     {
288 288
         try {
289
-            $this->client->deleteObject(rtrim($path, '/') . '/');
289
+            $this->client->deleteObject(rtrim($path, '/').'/');
290 290
         } catch (Throwable $e) {
291 291
             throw UnableToDeleteDirectory::atLocation(
292 292
                 $path,
@@ -353,12 +353,12 @@  discard block
 block discarded – undo
353 353
         }
354 354
 
355 355
         $prefixes = isset($result['commonPrefixes'])
356
-            ? array_map(function ($item) {
356
+            ? array_map(function($item) {
357 357
                 return ['key' => $item['prefix']];
358 358
             }, $result['commonPrefixes'])
359 359
             : [];
360 360
 
361
-        return array_map(function ($content) {
361
+        return array_map(function($content) {
362 362
             return $this->normalizeContent($content);
363 363
         }, array_merge($result['contents'], $prefixes));
364 364
     }
Please login to merge, or discard this patch.