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
                 'merchant_id' => env('SENANGPAY_MERCHANT_ID'),
25
                 'merchant_id' => env('SENANGPAY_MERCHANT_ID'),
26
                 'secret_key' => env('SENANGPAY_SECRET_KEY'),
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
         $this->app->afterResolving('payment', function (PaymentManager $manager) use ($config) {
31
         $this->app->afterResolving('payment', function (PaymentManager $manager) use ($config) {

Loading…
Cancel
Save