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,7 +25,7 @@ class PaymentServiceProvider extends ServiceProvider
25 25
         /** @noinspection PhpIncludeInspection */
26 26
         $config->set('payment', array_merge(
27 27
             require $config_path,
28
-            $config->get('payment')
28
+            $config->get('payment', [])
29 29
         ));
30 30
 
31 31
         $this->app->singleton('payment', function (Application $app) use ($config) {

Loading…
Cancel
Save