Passed
Push — master ( cc6d2c...b88fd4 )
by frey
03:46
created
src/ServiceProvider.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -32,21 +32,21 @@
 block discarded – undo
32 32
         }
33 33
 
34 34
         $this->app->make('filesystem')
35
-                  ->extend('cosv5', function ($app, $config) {
36
-                      $client = new Client($config);
37
-                      $flysystem = new Filesystem(new Adapter($client, $config), $config);
35
+                    ->extend('cosv5', function ($app, $config) {
36
+                        $client = new Client($config);
37
+                        $flysystem = new Filesystem(new Adapter($client, $config), $config);
38 38
 
39
-                      $flysystem->addPlugin(new PutRemoteFile);
40
-                      $flysystem->addPlugin(new PutRemoteFileAs);
41
-                      $flysystem->addPlugin(new GetUrl);
42
-                      $flysystem->addPlugin(new CDN);
43
-                      $flysystem->addPlugin(new TCaptcha);
44
-                      $flysystem->addPlugin(new GetFederationToken);
45
-                      $flysystem->addPlugin(new GetFederationTokenV3);
46
-                      $flysystem->addPlugin(new CloudInfinite);
39
+                        $flysystem->addPlugin(new PutRemoteFile);
40
+                        $flysystem->addPlugin(new PutRemoteFileAs);
41
+                        $flysystem->addPlugin(new GetUrl);
42
+                        $flysystem->addPlugin(new CDN);
43
+                        $flysystem->addPlugin(new TCaptcha);
44
+                        $flysystem->addPlugin(new GetFederationToken);
45
+                        $flysystem->addPlugin(new GetFederationTokenV3);
46
+                        $flysystem->addPlugin(new CloudInfinite);
47 47
 
48
-                      return $flysystem;
49
-                  });
48
+                        return $flysystem;
49
+                    });
50 50
     }
51 51
 
52 52
     /**
Please login to merge, or discard this patch.
src/Plugins/CloudInfinite.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
     {
37 37
         $adapter = $this->filesystem->getAdapter();
38 38
 
39
-        $url = 'https://' . $adapter->getPicturePath($objectKey) . '?image_process';
39
+        $url = 'https://'.$adapter->getPicturePath($objectKey).'?image_process';
40 40
 
41 41
         $response = $adapter->getHttpClient()->post($url, [
42 42
             'http_errors' => false,
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
     {
64 64
         $adapter = $this->filesystem->getAdapter();
65 65
 
66
-        $url = 'https://' . $adapter->getPicturePath($objectKey) . '?CR';
66
+        $url = 'https://'.$adapter->getPicturePath($objectKey).'?CR';
67 67
 
68 68
         $response = $adapter->getHttpClient()->get($url, [
69 69
             'http_errors' => false,
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
         $result = null;
116 116
 
117 117
         if (is_object($obj)) {
118
-            $obj = (array)$obj;
118
+            $obj = (array) $obj;
119 119
         }
120 120
 
121 121
         if (is_array($obj)) {
Please login to merge, or discard this patch.