diff --git a/lib/private/Log/File.php b/lib/private/Log/File.php index 289afed917..afeab1b8fd 100644 --- a/lib/private/Log/File.php +++ b/lib/private/Log/File.php @@ -56,7 +56,7 @@ class File extends LogDetails implements IWriter, IFileBased { /** @var SystemConfig */ private $config; - public function __construct(string $path, string $fallbackPath = '', SystemConfig $config) { + public function __construct(string $path, string $fallbackPath, SystemConfig $config) { parent::__construct($config); $this->logFile = $path; if (!file_exists($this->logFile)) {