Passed
Push — master ( 6ba407...6b365f )
by alpha
01:35
created
src/Plugins/PutRemoteFile.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
         }
28 28
 
29 29
         $resource = fopen($remoteUrl, 'r');
30
-        $status = (bool)$this->filesystem->getAdapter()->writeStream($path, $resource, $config);
30
+        $status = (bool) $this->filesystem->getAdapter()->writeStream($path, $resource, $config);
31 31
         fclose($resource);
32 32
         return $status;
33 33
     }
Please login to merge, or discard this patch.
src/Adapter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
     public function getUrl($path)
52 52
     {
53 53
         $object = $this->applyPathPrefix($path);
54
-        return $this->ossConfig->getUrlDomain() . '/' . ltrim($object, '/');
54
+        return $this->ossConfig->getUrlDomain().'/'.ltrim($object, '/');
55 55
     }
56 56
 
57 57
     /**
Please login to merge, or discard this patch.
src/ServiceProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -22,14 +22,14 @@  discard block
 block discarded – undo
22 22
         );
23 23
 
24 24
         $this->app->make('filesystem')
25
-            ->extend('aliyun', function ($app, array $config) {
25
+            ->extend('aliyun', function($app, array $config) {
26 26
                 return $app->make('aliyun-oss.oss-filesystem', $config);
27 27
             });
28 28
     }
29 29
 
30 30
     public function register()
31 31
     {
32
-        $this->app->bind('aliyun-oss.oss-client', function ($app, array $config) {
32
+        $this->app->bind('aliyun-oss.oss-client', function($app, array $config) {
33 33
             $ossConfig = new Config($config);
34 34
 
35 35
             $client = $app->make(OssClient::class, $ossConfig->getOssClientParameters());
@@ -38,13 +38,13 @@  discard block
 block discarded – undo
38 38
         });
39 39
 
40 40
 
41
-        $this->app->bind('aliyun-oss.oss-adapter', function ($app, array $config) {
41
+        $this->app->bind('aliyun-oss.oss-adapter', function($app, array $config) {
42 42
             $client = $app->make('aliyun-oss.oss-client', $config);
43 43
 
44 44
             return new Adapter($client, new Config($config));
45 45
         });
46 46
 
47
-        $this->app->bind('aliyun-oss.oss-filesystem', function ($app, array $config) {
47
+        $this->app->bind('aliyun-oss.oss-filesystem', function($app, array $config) {
48 48
             $adapter = $app->make('aliyun-oss.oss-adapter', $config);
49 49
 
50 50
             $filesystem = new Filesystem($adapter, new FlysystemConfig(['disable_asserts' => true]));
Please login to merge, or discard this patch.