1
0
mirror of https://github.com/flarum/core.git synced 2025-08-04 15:37:51 +02:00

fix: installation command config path can be null

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
This commit is contained in:
Sami Mazouz
2023-07-10 14:32:22 +01:00
parent f2f7f16c68
commit 07623afacd

View File

@@ -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;