From 41fd351c263c6a506ff515ee589b1aed663f30df Mon Sep 17 00:00:00 2001 From: Jephte Clain Date: Fri, 4 Oct 2024 14:18:31 +0400 Subject: [PATCH] modifs.mineures sans commentaires --- nur_src/config/ConfigManager.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nur_src/config/ConfigManager.php b/nur_src/config/ConfigManager.php index d8b9fc3..c06c4cc 100644 --- a/nur_src/config/ConfigManager.php +++ b/nur_src/config/ConfigManager.php @@ -366,19 +366,19 @@ class ConfigManager implements IConfigManager { private $cache = []; - private final function resetCache(): void { + private function resetCache(): void { $this->cache = []; } - private final function cacheHas(string $pkey, string $profile) { + private function cacheHas(string $pkey, string $profile) { $ckey = "$profile.$pkey"; return array_key_exists($ckey, $this->cache); } - private final function cacheGet(string $pkey, string $profile) { + private function cacheGet(string $pkey, string $profile) { $ckey = "$profile.$pkey"; return A::get($this->cache, $ckey); } - private final function cacheSet(string $pkey, $value, string $profile): void { + private function cacheSet(string $pkey, $value, string $profile): void { $ckey = "$profile.$pkey"; $this->cache[$ckey] = $value; }