@@ -14,11 +14,11 @@ discard block |
||
14 | 14 | { |
15 | 15 | if ($this->app->runningInConsole()) { |
16 | 16 | $this->publishes([ |
17 | - __DIR__.'/../config/config.php' => config_path('paystack.php'), |
|
17 | + __DIR__ . '/../config/config.php' => config_path('paystack.php'), |
|
18 | 18 | ], 'config'); |
19 | 19 | } |
20 | 20 | |
21 | - AboutCommand::add('paystack', fn() => ['Version' => '1.0.2']); |
|
21 | + AboutCommand::add('paystack', fn() => [ 'Version' => '1.0.2' ]); |
|
22 | 22 | } |
23 | 23 | |
24 | 24 | /** |
@@ -27,10 +27,10 @@ discard block |
||
27 | 27 | public function register(): void |
28 | 28 | { |
29 | 29 | // Automatically apply the package configuration |
30 | - $this->mergeConfigFrom(__DIR__.'/../config/config.php', 'paystack'); |
|
30 | + $this->mergeConfigFrom(__DIR__ . '/../config/config.php', 'paystack'); |
|
31 | 31 | |
32 | 32 | // Register the main class to use with the facade |
33 | - $this->app->singleton('paystack', function () { |
|
33 | + $this->app->singleton('paystack', function() { |
|
34 | 34 | return new Paystack(config('paystack.secret_key')); |
35 | 35 | }); |
36 | 36 | } |