From 07623afacde590c45a20537add3b72a919050819 Mon Sep 17 00:00:00 2001 From: Sami Mazouz Date: Mon, 10 Jul 2023 14:32:22 +0100 Subject: [PATCH] fix: installation command config path can be null Signed-off-by: Sami Mazouz --- framework/core/src/Install/Installation.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/core/src/Install/Installation.php b/framework/core/src/Install/Installation.php index d233b0967..28017d504 100644 --- a/framework/core/src/Install/Installation.php +++ b/framework/core/src/Install/Installation.php @@ -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;