Completed
Push — master ( 51d78e...858508 )
by Songda
36s
created
src/PayServiceProvider.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -48,13 +48,13 @@
 block discarded – undo
48 48
             return Pay::unipay();
49 49
         });
50 50
 
51
-		$this->app->singleton('pay.douyin', function () {
52
-			return Pay::douyin();
53
-		});
51
+        $this->app->singleton('pay.douyin', function () {
52
+            return Pay::douyin();
53
+        });
54 54
 
55
-		$this->app->singleton('pay.jsb', function () {
56
-			return Pay::jsb();
57
-		});
55
+        $this->app->singleton('pay.jsb', function () {
56
+            return Pay::jsb();
57
+        });
58 58
     }
59 59
 
60 60
     public function provides(): array
Please login to merge, or discard this patch.
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
     {
18 18
         if ($this->app instanceof Application && $this->app->runningInConsole()) {
19 19
             $this->publishes([
20
-                dirname(__DIR__).'/config/pay.php' => config_path('pay.php'), ],
20
+                dirname(__DIR__) . '/config/pay.php' => config_path('pay.php'), ],
21 21
                 'laravel-pay'
22 22
             );
23 23
         }
@@ -32,33 +32,33 @@  discard block
 block discarded – undo
32 32
      */
33 33
     public function register(): void
34 34
     {
35
-        $this->mergeConfigFrom(dirname(__DIR__).'/config/pay.php', 'pay');
35
+        $this->mergeConfigFrom(dirname(__DIR__) . '/config/pay.php', 'pay');
36 36
 
37 37
         Pay::config(config('pay'));
38 38
 
39
-        $this->app->singleton('pay.alipay', function () {
39
+        $this->app->singleton('pay.alipay', function() {
40 40
             return Pay::alipay();
41 41
         });
42 42
 
43
-        $this->app->singleton('pay.wechat', function () {
43
+        $this->app->singleton('pay.wechat', function() {
44 44
             return Pay::wechat();
45 45
         });
46 46
 
47
-        $this->app->singleton('pay.unipay', function () {
47
+        $this->app->singleton('pay.unipay', function() {
48 48
             return Pay::unipay();
49 49
         });
50 50
 
51
-		$this->app->singleton('pay.douyin', function () {
51
+		$this->app->singleton('pay.douyin', function() {
52 52
 			return Pay::douyin();
53 53
 		});
54 54
 
55
-		$this->app->singleton('pay.jsb', function () {
55
+		$this->app->singleton('pay.jsb', function() {
56 56
 			return Pay::jsb();
57 57
 		});
58 58
     }
59 59
 
60 60
     public function provides(): array
61 61
     {
62
-        return ['pay.alipay', 'pay.wechat', 'pay.unipay', 'pay.douyin', 'pay.jsb'];
62
+        return [ 'pay.alipay', 'pay.wechat', 'pay.unipay', 'pay.douyin', 'pay.jsb' ];
63 63
     }
64 64
 }
Please login to merge, or discard this patch.
src/Facades/Pay.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -28,18 +28,18 @@
 block discarded – undo
28 28
         return app('pay.wechat');
29 29
     }
30 30
 
31
-	public static function douyin(): Douyin
32
-	{
33
-		return app('pay.douyin');
34
-	}
31
+    public static function douyin(): Douyin
32
+    {
33
+        return app('pay.douyin');
34
+    }
35 35
 
36
-	public static function jsb(): Jsb
37
-	{
38
-		return app('pay.jsb');
39
-	}
36
+    public static function jsb(): Jsb
37
+    {
38
+        return app('pay.jsb');
39
+    }
40 40
 
41 41
     public static function unipay(): Unipay
42
-	{
43
-		return app('pay.unipay');
44
-	}
42
+    {
43
+        return app('pay.unipay');
44
+    }
45 45
 }
Please login to merge, or discard this patch.