Visman 4 лет назад
Родитель
Сommit
c7259750f3
1 измененных файлов с 1 добавлено и 1 удалено
  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);
         }
     }