Browse Source

fix null config

tags/1.0
0nepeop1e 4 years ago
parent
commit
9f0b724e20
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/PaymentServiceProvider.php

+ 1
- 1
src/PaymentServiceProvider.php View File

25
         /** @noinspection PhpIncludeInspection */
25
         /** @noinspection PhpIncludeInspection */
26
         $config->set('payment', array_merge(
26
         $config->set('payment', array_merge(
27
             require $config_path,
27
             require $config_path,
28
-            $config->get('payment')
28
+            $config->get('payment', [])
29
         ));
29
         ));
30
 
30
 
31
         $this->app->singleton('payment', function (Application $app) use ($config) {
31
         $this->app->singleton('payment', function (Application $app) use ($config) {

Loading…
Cancel
Save