Browse Source

fix null config

tags/1.0
0nepeop1e 4 years ago
parent
commit
3f4198e76a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/SenangPayServiceProvider.php

+ 1
- 1
src/SenangPayServiceProvider.php View File

@@ -25,7 +25,7 @@ class SenangPayServiceProvider extends ServiceProvider
25 25
                 'merchant_id' => env('SENANGPAY_MERCHANT_ID'),
26 26
                 'secret_key' => env('SENANGPAY_SECRET_KEY'),
27 27
             ],
28
-            $config->get('payment.gateway.senangpay')
28
+            $config->get('payment.gateway.senangpay', [])
29 29
         ));
30 30
 
31 31
         $this->app->afterResolving('payment', function (PaymentManager $manager) use ($config) {

Loading…
Cancel
Save