Passed
Push — master ( cbf27a...49fd0b )
by alpha
12:07
created
src/Macros/AppendFile.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Macros/AppendObject.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/AliyunServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -19,15 +19,15 @@
 block discarded – undo
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 (Container $app, array $config) {
27
+            ->extend("oss", function(Container $app, array $config) {
28 28
                 $adapter = $app->make(AliyunFactory::class)->createAdapter($config);
29 29
                 $driver = $app->make(Filesystem::class, ["adapter" => $adapter]);
30
-                $filesystem = $app->make(FilesystemAdapter::class, ["driver" => $driver,"adapter" => $adapter,"config" => $config]);
30
+                $filesystem = $app->make(FilesystemAdapter::class, ["driver" => $driver, "adapter" => $adapter, "config" => $config]);
31 31
                 $this->registerMicros($config["macros"] ?? [], $filesystem, $app);
32 32
                 return $filesystem;
33 33
             });
Please login to merge, or discard this patch.