Skip to content

Commit

Permalink
Merge pull request #25004 from nextcloud/fix/noid/php8-optional-param…
Browse files Browse the repository at this point in the history
…eter-before-mandatory

Fix warning in PHP 8 about optional parameter before mandatory one
  • Loading branch information
MorrisJobke authored Jan 7, 2021
2 parents 2dd04f7 + 59ae722 commit 15e8f8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Log/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 15e8f8b

Please sign in to comment.