diff --git a/src/app/Config.php b/src/app/Config.php index d407cfd..6d888b8 100644 --- a/src/app/Config.php +++ b/src/app/Config.php @@ -40,7 +40,7 @@ public function setConfigContent(array $content): void file_put_contents($this->configFile, json_encode($content, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE)); } - public function updateConfig(string $key, string $value): void + public function updateConfig(string $key, ?string $value): void { $config = $this->getConfigContent(); if (in_array($value, ['bool', 'false'])) {