aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2021-01-07 13:26:51 +0100
committerGitHub <noreply@github.com>2021-01-07 13:26:51 +0100
commit15e8f8b817d1bbb2444978288a7af007056f0e08 (patch)
tree33ec125c79f2cf5d4592ff23a9957ed523c51bda
parent2dd04f76d2b56fc71729d773e011515096b0b1d3 (diff)
parent59ae7220874e99081d999f40732181b66080e038 (diff)
downloadnextcloud-server-15e8f8b817d1bbb2444978288a7af007056f0e08.tar.gz
nextcloud-server-15e8f8b817d1bbb2444978288a7af007056f0e08.zip
Merge pull request #25004 from nextcloud/fix/noid/php8-optional-parameter-before-mandatory
Fix warning in PHP 8 about optional parameter before mandatory one
-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)) {