mirror of
https://github.com/flarum/framework.git
synced 2025-02-01 10:18:29 +08:00
fix: installation command config path can be null
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
This commit is contained in:
parent
f2f7f16c68
commit
07623afacd
|
@ -14,7 +14,7 @@ use Illuminate\Database\ConnectionInterface;
|
|||
|
||||
class Installation
|
||||
{
|
||||
private string $configPath;
|
||||
private ?string $configPath = null;
|
||||
private bool $debug = false;
|
||||
private BaseUrl $baseUrl;
|
||||
private array $customSettings = [];
|
||||
|
@ -33,7 +33,7 @@ class Installation
|
|||
) {
|
||||
}
|
||||
|
||||
public function configPath(string $path): self
|
||||
public function configPath(?string $path): self
|
||||
{
|
||||
$this->configPath = $path;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user