Skip to content

Commit

Permalink
fix: installation command config path can be null
Browse files Browse the repository at this point in the history
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
  • Loading branch information
SychO9 committed Jul 10, 2023
1 parent f2f7f16 commit 07623af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions framework/core/src/Install/Installation.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

class Installation
{
private string $configPath;
private ?string $configPath = null;
private bool $debug = false;
private BaseUrl $baseUrl;
private array $customSettings = [];
Expand All @@ -33,7 +33,7 @@ public function __construct(
) {
}

public function configPath(string $path): self
public function configPath(?string $path): self
{
$this->configPath = $path;

Expand Down

0 comments on commit 07623af

Please sign in to comment.