mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 20:14:03 +00:00
get down to 21 phpstan errors
This commit is contained in:
parent
a94227a19c
commit
f98a901aeb
16 changed files with 85 additions and 26 deletions
|
|
@ -81,7 +81,7 @@ class DatabaseConfig
|
|||
*/
|
||||
public function makeCredentials(): void
|
||||
{
|
||||
$this->tenant->setInternal('db_name', $this->getName() ?? (static::$databaseNameGenerator)($this->tenant));
|
||||
$this->tenant->setInternal('db_name', $this->getName());
|
||||
|
||||
if ($this->manager() instanceof Contracts\ManagesDatabaseUsers) {
|
||||
$this->tenant->setInternal('db_username', $this->getUsername() ?? (static::$usernameGenerator)($this->tenant));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue