@@ -64,7 +64,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 | ); |
@@ -39,7 +39,7 @@ |
||
| 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 | |
@@ -18,7 +18,7 @@ |
||
| 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 | ]; |