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:
commit
15e8f8b817
|
@ -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