@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -if (! function_exists('paystack')) { |
|
| 3 | +if (!function_exists('paystack')) { |
|
| 4 | 4 | /** |
| 5 | 5 | * @throws \Illuminate\Contracts\Container\BindingResolutionException |
| 6 | 6 | */ |
@@ -13,7 +13,7 @@ discard block |
||
| 13 | 13 | { |
| 14 | 14 | if ($this->app->runningInConsole()) { |
| 15 | 15 | $this->publishes([ |
| 16 | - __DIR__.'/../config/config.php' => config_path('paystack.php'), |
|
| 16 | + __DIR__ . '/../config/config.php' => config_path('paystack.php'), |
|
| 17 | 17 | ], 'config'); |
| 18 | 18 | } |
| 19 | 19 | } |
@@ -24,10 +24,10 @@ discard block |
||
| 24 | 24 | public function register(): void |
| 25 | 25 | { |
| 26 | 26 | // Automatically apply the package configuration |
| 27 | - $this->mergeConfigFrom(__DIR__.'/../config/config.php', 'paystack'); |
|
| 27 | + $this->mergeConfigFrom(__DIR__ . '/../config/config.php', 'paystack'); |
|
| 28 | 28 | |
| 29 | 29 | // Register the main class to use with the facade |
| 30 | - $this->app->bind('paystack', function () { |
|
| 30 | + $this->app->bind('paystack', function() { |
|
| 31 | 31 | return new Paystack(config('paystack.secret_key')); |
| 32 | 32 | }); |
| 33 | 33 | } |