Apply suggestions from code review

Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
Simon L.
2026-04-24 16:26:57 +02:00
parent f80f888d6c
commit 47307b37f8
7 changed files with 21 additions and 31 deletions

View File

@@ -1129,12 +1129,7 @@ class ConfigurationManager
}
private function getElasticLogLevel() : string {
return match ($this->aioLogLevel) {
'debug' => 'DEBUG',
'info' => 'INFO',
'error' => 'ERROR',
default => 'WARN',
};
return strtoupper($this->aioLogLevel);
}
private function booleanize(mixed $value) : bool {