@@ -24,7 +24,7 @@ |
||
| 24 | 24 | */ |
| 25 | 25 | public function macro(): Closure |
| 26 | 26 | { |
| 27 | - return function (string $path, string $content, int $position = 0, array $options = []) { |
|
| 27 | + return function(string $path, string $content, int $position = 0, array $options = []) { |
|
| 28 | 28 | try { |
| 29 | 29 | /** |
| 30 | 30 | * @var FilesystemAdapter $this |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | */ |
| 25 | 25 | public function macro(): Closure |
| 26 | 26 | { |
| 27 | - return function (string $path, string $content, int $position = 0, array $options = []) { |
|
| 27 | + return function(string $path, string $content, int $position = 0, array $options = []) { |
|
| 28 | 28 | try { |
| 29 | 29 | /** |
| 30 | 30 | * @var FilesystemAdapter $this |
@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | } |
| 40 | 40 | |
| 41 | 41 | $config->set("filesystems.disks.oss", array_merge( |
| 42 | - require __DIR__ . "/../config/config.php", |
|
| 42 | + require __DIR__."/../config/config.php", |
|
| 43 | 43 | $config->get("filesystems.disks.oss", []) |
| 44 | 44 | )); |
| 45 | 45 | } |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | public function boot() |
| 51 | 51 | { |
| 52 | 52 | $this->app->make("filesystem") |
| 53 | - ->extend("oss", function (Application $app, array $config) { |
|
| 53 | + ->extend("oss", function(Application $app, array $config) { |
|
| 54 | 54 | $adapter = (new AliyunFactory())->createAdapter($config); |
| 55 | 55 | $driver = new Filesystem($adapter); |
| 56 | 56 | $filesystem = new FilesystemAdapter($driver, $adapter, $config); |