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