Completed
Push — master ( edb266...3691e2 )
by Patrick
02:32
created
src/Adapters/Flysystem/Component.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      */
65 65
     public function local(string $name, string $path)
66 66
     {
67
-        $this->disk($name, function () use ($path) {
67
+        $this->disk($name, function() use ($path) {
68 68
             return new Local($path);
69 69
         });
70 70
 
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
      */
78 78
     public function ftp(array $settings)
79 79
     {
80
-        $this->disk('ftp', function () use ($settings) {
80
+        $this->disk('ftp', function() use ($settings) {
81 81
             return new Ftp($settings);
82 82
         });
83 83
 
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
      */
91 91
     public function aws(string $bucket, array $settings)
92 92
     {
93
-        $this->disk('ftp', function () use ($bucket, $settings) {
93
+        $this->disk('ftp', function() use ($bucket, $settings) {
94 94
 
95 95
             $client = S3Client::factory($settings);
96 96
 
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
      */
108 108
     public function dropbox(string $accessToken, string $appSecret)
109 109
     {
110
-        $this->disk('dropbox', function () use ($accessToken, $appSecret) {
110
+        $this->disk('dropbox', function() use ($accessToken, $appSecret) {
111 111
             return new DropboxAdapter(
112 112
                 new Client($accessToken, $appSecret)
113 113
             );
Please login to merge, or discard this patch.
src/Providers/FlystemProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     public function getDefinitions()
40 40
     {
41 41
         return [
42
-            FilesystemInterface::class => function () {
42
+            FilesystemInterface::class => function() {
43 43
 
44 44
                 $manager = new MountManager();
45 45
 
Please login to merge, or discard this patch.
tests/ComponentTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 
19 19
     public function test_can_ask_for_custom_implementation()
20 20
     {
21
-        Component::extend('custom', function ($folder) {
21
+        Component::extend('custom', function($folder) {
22 22
             return [
23 23
                 new FlystemProvider(new DiskResolverCollection)
24 24
             ];
Please login to merge, or discard this patch.