Completed
Push — master ( 025f45...0cc076 )
by Songda
9s
created
src/PayServiceProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
     {
28 28
         if (!file_exists(config_path('pay.php'))) {
29 29
             $this->publishes([
30
-                dirname(__DIR__).'/config/pay.php' => config_path('pay.php'),
30
+                dirname(__DIR__) . '/config/pay.php' => config_path('pay.php'),
31 31
             ], 'config');
32 32
         }
33 33
     }
@@ -39,9 +39,9 @@  discard block
 block discarded – undo
39 39
      */
40 40
     public function register()
41 41
     {
42
-        $this->mergeConfigFrom(dirname(__DIR__).'/config/pay.php', 'pay');
42
+        $this->mergeConfigFrom(dirname(__DIR__) . '/config/pay.php', 'pay');
43 43
 
44
-        $this->app->singleton(Pay::class, function ($app) {
44
+        $this->app->singleton(Pay::class, function($app) {
45 45
             return new Pay(config('pay'));
46 46
         });
47 47
 
@@ -55,6 +55,6 @@  discard block
 block discarded – undo
55 55
      */
56 56
     public function provides()
57 57
     {
58
-        return [Pay::class, 'pay'];
58
+        return [ Pay::class, 'pay' ];
59 59
     }
60 60
 }
Please login to merge, or discard this patch.