Browse Source

fix null config

tags/2.0.3
0nepeop1e 4 years ago
parent
commit
ef623a2970
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/RazerPayServiceProvider.php

+ 1
- 1
src/RazerPayServiceProvider.php View File

@@ -26,7 +26,7 @@ class RazerPayServiceProvider extends ServiceProvider
26 26
                 'verify_key' => env('RAZER_VERIFY_KEY'),
27 27
                 'secret_key' => env('RAZER_SECRET_KEY'),
28 28
             ],
29
-            $config->get('payment.gateway.razerpay')
29
+            $config->get('payment.gateway.razerpay', [])
30 30
         ));
31 31
 
32 32
         $this->app->afterResolving('payment', function (PaymentManager $manager) use ($config) {

Loading…
Cancel
Save