mirror of
https://github.com/archtechx/tenancy.git
synced 2026-05-06 19:44:03 +00:00
Make validateParameter have void return type
This commit is contained in:
parent
f3f1ab977a
commit
75b74f2e6c
8 changed files with 38 additions and 22 deletions
|
|
@ -45,7 +45,9 @@ trait ManagesPostgresUsers
|
|||
public function deleteUser(DatabaseConfig $databaseConfig): bool
|
||||
{
|
||||
// Tenant DB username
|
||||
$username = $this->validateParameter($databaseConfig->getUsername());
|
||||
$username = $databaseConfig->getUsername();
|
||||
|
||||
$this->validateParameter($username);
|
||||
|
||||
// Tenant host connection config
|
||||
$connectionName = $this->connection()->getConfig('name');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue