Browse Source

Fix Container\config()

Visman 4 years ago
parent
commit
c7259750f3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Core/Container.php

+ 1 - 1
app/Core/Container.php

@@ -44,7 +44,7 @@ class Container
         }
         unset($config['shared'], $config['multiple']);
         if (! empty($config)) {
-            $this->config = \array_replace_recursive($this->config, $config);
+            $this->instances = \array_replace_recursive($this->instances, $config);
         }
     }