From 5cfdd941f061c709e49486e616e2ac47a4ca4ab9 Mon Sep 17 00:00:00 2001 From: hschoenenberger Date: Wed, 27 Nov 2024 11:23:32 +0100 Subject: [PATCH] fix: load config must require file every time --- src/ServiceContainer/ServiceContainer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ServiceContainer/ServiceContainer.php b/src/ServiceContainer/ServiceContainer.php index 59b396d..9d6507d 100644 --- a/src/ServiceContainer/ServiceContainer.php +++ b/src/ServiceContainer/ServiceContainer.php @@ -81,7 +81,7 @@ public static function createInstance($configPath) */ public function loadConfig() { - $this->config = require_once $this->configPath; + $this->config = require $this->configPath; } /**