Merge pull request #25004 from nextcloud/fix/noid/php8-optional-parameter-before-mandatory

Fix warning in PHP 8 about optional parameter before mandatory one
This commit is contained in:
Morris Jobke 2021-01-07 13:26:51 +01:00 committed by GitHub
commit 15e8f8b817
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {