From 59ae7220874e99081d999f40732181b66080e038 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Thu, 7 Jan 2021 12:43:56 +0100 Subject: [PATCH] Fix warning in PHP 8 about optional parameter before mandatory one Signed-off-by: Morris Jobke --- lib/private/Log/File.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) {