Fix warning in PHP 8 about optional parameter before mandatory one
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
2dd04f76d2
commit
59ae722087
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue