From 5c50684b5047e259517d67372658ca86976839df Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Sun, 3 Feb 2019 19:32:31 +0100 Subject: [PATCH] 2) Refactor App->config[] into Core\PConfig --- src/Core/Config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/Config.php b/src/Core/Config.php index 6b9015c2eb..bec6539e27 100644 --- a/src/Core/Config.php +++ b/src/Core/Config.php @@ -162,7 +162,7 @@ class Config extends BaseObject * @param array $config * @param bool $overwrite Force value overwrite if the config key already exists */ - public function loadConfigArray(array $config, $overwrite = false) + public static function loadConfigArray(array $config, $overwrite = false) { foreach ($config as $category => $values) { foreach ($values as $key => $value) { -- 2.39.5