Completed
Push — master ( 1b5673...db1e7e )
by Songda
05:31
created
src/PayServiceProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
         if (!file_exists(config_path('pay.php'))) {
27 27
             if ($this->app instanceof LaravelApplication && $this->app->runningInConsole()) {
28 28
                 $this->publishes([
29
-                    dirname(__DIR__).'/config/pay.php' => config_path('pay.php'),
29
+                    dirname(__DIR__) . '/config/pay.php' => config_path('pay.php'),
30 30
                 ], 'laravel-pay');
31 31
             } elseif ($this->app instanceof LumenApplication) {
32 32
                 $this->app->configure('pay');
@@ -41,12 +41,12 @@  discard block
 block discarded – undo
41 41
      */
42 42
     public function register()
43 43
     {
44
-        $this->mergeConfigFrom(dirname(__DIR__).'/config/pay.php', 'pay');
44
+        $this->mergeConfigFrom(dirname(__DIR__) . '/config/pay.php', 'pay');
45 45
 
46
-        $this->app->singleton('pay.alipay', function () {
46
+        $this->app->singleton('pay.alipay', function() {
47 47
             return Pay::alipay(config('pay.alipay'));
48 48
         });
49
-        $this->app->singleton('pay.wechat', function () {
49
+        $this->app->singleton('pay.wechat', function() {
50 50
             return Pay::wechat(config('pay.wechat'));
51 51
         });
52 52
     }
Please login to merge, or discard this patch.