From c7d00103152b8fbf769d808bb46ae5a612f4e4b1 Mon Sep 17 00:00:00 2001 From: Juan Cristobal <65052633+juancristobalgd1@users.noreply.github.com> Date: Tue, 2 Jan 2024 19:17:57 +0100 Subject: [PATCH] update file src/BaseConfig.php --- src/BaseConfig.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BaseConfig.php b/src/BaseConfig.php index a9c7135..6593907 100644 --- a/src/BaseConfig.php +++ b/src/BaseConfig.php @@ -247,7 +247,7 @@ public function clearCache() */ public function __get($key) { - $config = ((object) $this->config[$key]) ?? null; + $config = isset($this->config[$key]) ? (object) $this->config[$key] : null; return $config; } }