mirror of
https://github.com/flarum/framework.git
synced 2025-03-05 12:32:10 +08:00
fix: installation command config path can be null
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
This commit is contained in:
parent
f2f7f16c68
commit
07623afacd
@ -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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user