Passed
Push — master ( 8ddc79...c34527 )
by alpha
03:26 queued 01:07
created
src/AliyunOssAdapter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,10 +59,10 @@
 block discarded – undo
59 59
         if ($this->config['isCname']) {
60 60
             $url .= $this->config['cdnDomain'];
61 61
         } else {
62
-            $url .= $this->config['bucket'] . '.' . $this->config['endpoint'];
62
+            $url .= $this->config['bucket'].'.'.$this->config['endpoint'];
63 63
         }
64 64
 
65
-        $url .= '/' . ltrim($path, '/');
65
+        $url .= '/'.ltrim($path, '/');
66 66
         return $url;
67 67
     }
68 68
 
Please login to merge, or discard this patch.
src/ServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
     {
19 19
         if ($this->app->runningInConsole()) {
20 20
             $this->publishes([
21
-                __DIR__ . '/config/config.php' => config_path('aliyun-oss.php'),
21
+                __DIR__.'/config/config.php' => config_path('aliyun-oss.php'),
22 22
             ], 'config');
23 23
         }
24 24
         $this->mergeConfigFrom(
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
         );
28 28
 
29 29
         $this->app->make('filesystem')
30
-            ->extend('aliyun', function ($app, array $config) {
30
+            ->extend('aliyun', function($app, array $config) {
31 31
                 $client = $app->get(OssClient::class);
32 32
 
33 33
                 $adapter = new AliyunOssAdapter($config, $client);
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
 
41 41
     public function register()
42 42
     {
43
-        $this->app->singleton(OssClient::class, function ($app) {
43
+        $this->app->singleton(OssClient::class, function($app) {
44 44
             $config = $app->get('config')->get('filesystems.disks.aliyun');
45 45
             $ossClient = new OssClient(
46 46
                 $config['accessId'],
Please login to merge, or discard this patch.