From 05048d4abf93169c5e0c3bc464a9b8548563d4f7 Mon Sep 17 00:00:00 2001 From: Philipp Date: Fri, 6 Jan 2023 12:43:04 +0100 Subject: [PATCH] Update src/Core/Config/ValueObject/Cache.php Co-authored-by: Hypolite Petovan --- src/Core/Config/ValueObject/Cache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/Config/ValueObject/Cache.php b/src/Core/Config/ValueObject/Cache.php index ca76bb4edd..2082511641 100644 --- a/src/Core/Config/ValueObject/Cache.php +++ b/src/Core/Config/ValueObject/Cache.php @@ -182,7 +182,7 @@ class Cache if ($this->hidePasswordOutput && $key == 'password' && is_string($value)) { - $this->setCatKeyValueSource($cat, $key, new HiddenString((string)$value), $source); + $this->setCatKeyValueSource($cat, $key, new HiddenString($value), $source); } else if (is_string($value)) { $this->setCatKeyValueSource($cat, $key, self::toConfigValue($value), $source); } else {