summaryrefslogtreecommitdiffstats
path: root/lib/private/Log
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2021-01-07 12:43:56 +0100
committerMorris Jobke <hey@morrisjobke.de>2021-01-07 12:43:56 +0100
commit59ae7220874e99081d999f40732181b66080e038 (patch)
tree33ec125c79f2cf5d4592ff23a9957ed523c51bda /lib/private/Log
parent2dd04f76d2b56fc71729d773e011515096b0b1d3 (diff)
downloadnextcloud-server-59ae7220874e99081d999f40732181b66080e038.tar.gz
nextcloud-server-59ae7220874e99081d999f40732181b66080e038.zip
Fix warning in PHP 8 about optional parameter before mandatory one
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/Log')
-rw-r--r--lib/private/Log/File.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Log/File.php b/lib/private/Log/File.php
index 289afed9179..afeab1b8fd7 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)) {