@@ -27,7 +27,7 @@ discard block |
||
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 |
||
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 |
||
55 | 55 | */ |
56 | 56 | public function provides() |
57 | 57 | { |
58 | - return [Pay::class, 'pay']; |
|
58 | + return [ Pay::class, 'pay' ]; |
|
59 | 59 | } |
60 | 60 | } |