Completed
Push — master ( 5e8ec5...9ad8db )
by Thomas
02:41
created
src/UtilTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
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']);
Please login to merge, or discard this patch.
src/BaiduBosAdapter.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
     public function deleteDir($dirname)
165 165
     {
166 166
         try {
167
-            $this->client->deleteObject(rtrim($dirname, '/') . '/');
167
+            $this->client->deleteObject(rtrim($dirname, '/').'/');
168 168
         } catch (Exception $exception) {
169 169
             return false;
170 170
         }
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
     {
185 185
         try {
186 186
             $this->client->putObject(
187
-                rtrim($dirname, '/') . '/',
187
+                rtrim($dirname, '/').'/',
188 188
                 '',
189 189
                 $this->extractOptions($config)
190 190
             );
@@ -266,12 +266,12 @@  discard block
 block discarded – undo
266 266
         $result = $this->client->listObjects($options);
267 267
 
268 268
         $prefixes = isset($result['commonPrefixes'])
269
-            ? array_map(function ($item) {
269
+            ? array_map(function($item) {
270 270
                 return ['key' => $item['prefix']];
271 271
             }, $result['commonPrefixes'])
272 272
             : [];
273 273
 
274
-        return array_map(function ($content) {
274
+        return array_map(function($content) {
275 275
             return $this->normalizeContent($content);
276 276
         }, array_merge($result['contents'], $prefixes));
277 277
     }
Please login to merge, or discard this patch.