@@ -17,7 +17,7 @@ |
||
17 | 17 | |
18 | 18 | public function macro(): Closure |
19 | 19 | { |
20 | - return function (string $path, string $content, int $position = 0, array $options = []) { |
|
20 | + return function(string $path, string $content, int $position = 0, array $options = []) { |
|
21 | 21 | try { |
22 | 22 | /** |
23 | 23 | * @var FilesystemAdapter $this |
@@ -17,7 +17,7 @@ |
||
17 | 17 | |
18 | 18 | public function macro(): Closure |
19 | 19 | { |
20 | - return function (string $path, string $content, int $position = 0, array $options = []) { |
|
20 | + return function(string $path, string $content, int $position = 0, array $options = []) { |
|
21 | 21 | try { |
22 | 22 | /** |
23 | 23 | * @var FilesystemAdapter $this |
@@ -19,12 +19,12 @@ |
||
19 | 19 | public function boot(): void |
20 | 20 | { |
21 | 21 | $this->mergeConfigFrom( |
22 | - __DIR__ . '/../config/config.php', |
|
22 | + __DIR__.'/../config/config.php', |
|
23 | 23 | 'filesystems.disks.oss' |
24 | 24 | ); |
25 | 25 | |
26 | 26 | $this->app->make('filesystem') |
27 | - ->extend('oss', function ($app, array $config) { |
|
27 | + ->extend('oss', function($app, array $config) { |
|
28 | 28 | $adapter = (new AliyunFactory())->createAdapter($config); |
29 | 29 | $filesystemAdapter = new FilesystemAdapter(new Filesystem($adapter), $adapter, $config); |
30 | 30 | $this->registerMicros($config['macros'] ?? [], $filesystemAdapter, $app); |