Update src/Core/Config/ValueObject/Cache.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
70704ccb19
commit
05048d4abf
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ class Cache
|
||||||
if ($this->hidePasswordOutput &&
|
if ($this->hidePasswordOutput &&
|
||||||
$key == 'password' &&
|
$key == 'password' &&
|
||||||
is_string($value)) {
|
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)) {
|
} else if (is_string($value)) {
|
||||||
$this->setCatKeyValueSource($cat, $key, self::toConfigValue($value), $source);
|
$this->setCatKeyValueSource($cat, $key, self::toConfigValue($value), $source);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue