Completed
Push — master ( 57c4d8...bcb451 )
by frey
02:39
created
src/ServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
             __DIR__.'/filesystems.php' => config_path('filesystems.php'),
26 26
         ]);
27 27
 
28
-        Storage::extend('cosv3', function ($app, $config) {
28
+        Storage::extend('cosv3', function($app, $config) {
29 29
             return new Filesystem(new Adapter($config));
30 30
         });
31 31
 
Please login to merge, or discard this patch.
src/Client/Cosapi.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -800,7 +800,7 @@
 block discarded – undo
800 800
      *
801 801
      * @param string $path 待编码路径
802 802
      *
803
-     * @return mixed
803
+     * @return string
804 804
      */
805 805
     private static function cosUrlEncode($path)
806 806
     {
Please login to merge, or discard this patch.
src/Adapter.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -396,8 +396,8 @@  discard block
 block discarded – undo
396 396
     }
397 397
 
398 398
     /**
399
-	 * Creates a temporary file
400
-	 *
399
+     * Creates a temporary file
400
+     *
401 401
      * @param string $content
402 402
      *
403 403
      * @return bool|string
@@ -410,10 +410,10 @@  discard block
 block discarded – undo
410 410
 
411 411
         file_put_contents($temporaryPath, $content);
412 412
 		
413
-		// The file is automatically removed when closed, or when the script ends.
414
-		register_shutdown_function(function() use($temporaryPath) {
415
-			unlink($temporaryPath);
416
-		});
413
+        // The file is automatically removed when closed, or when the script ends.
414
+        register_shutdown_function(function() use($temporaryPath) {
415
+            unlink($temporaryPath);
416
+        });
417 417
 
418 418
         return $temporaryPath;
419 419
     }
Please login to merge, or discard this patch.