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
No known key found for this signature in database

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;