mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 20:54:03 +00:00
Remove unnecessary null-coalescing
This commit is contained in:
parent
10d40fd84b
commit
92d5ffe039
1 changed files with 2 additions and 2 deletions
|
|
@ -100,12 +100,12 @@ class DatabaseConfig
|
||||||
|
|
||||||
public function getUsername(): ?string
|
public function getUsername(): ?string
|
||||||
{
|
{
|
||||||
return $this->tenant->getInternal('db_username') ?? null;
|
return $this->tenant->getInternal('db_username');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getPassword(): ?string
|
public function getPassword(): ?string
|
||||||
{
|
{
|
||||||
return $this->tenant->getInternal('db_password') ?? null;
|
return $this->tenant->getInternal('db_password');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue