@@ -14,7 +14,7 @@ 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 | } |
@@ -25,10 +25,10 @@ discard block |
||
| 25 | 25 | public function register(): void |
| 26 | 26 | { |
| 27 | 27 | // Automatically apply the package configuration |
| 28 | - $this->mergeConfigFrom(__DIR__.'/../config/config.php', 'paystack'); |
|
| 28 | + $this->mergeConfigFrom(__DIR__ . '/../config/config.php', 'paystack'); |
|
| 29 | 29 | |
| 30 | 30 | // Register the main class to use with the facade |
| 31 | - $this->app->singleton('paystack', function () { |
|
| 31 | + $this->app->singleton('paystack', function() { |
|
| 32 | 32 | return new Paystack(config('paystack.secret_key')); |
| 33 | 33 | }); |
| 34 | 34 | } |