Fix warning in PHP 8 about optional parameter before mandatory one

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
Morris Jobke 2021-01-07 12:43:56 +01:00
parent 2dd04f76d2
commit 59ae722087
No known key found for this signature in database
GPG Key ID: FE03C3A163FEDE68
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)) {