mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 18:04:03 +00:00
Switch order of conditions
This commit is contained in:
parent
bbafc9d8e2
commit
89c7289b66
1 changed files with 1 additions and 1 deletions
|
|
@ -274,7 +274,7 @@ final class TenantManager
|
|||
$uuid = $uuid ?: $this->tenant['uuid'];
|
||||
|
||||
if (array_key_exists('uuid', $this->tenant) && $uuid === $this->tenant['uuid'] &&
|
||||
array_key_exists($key, $this->tenant) && ! is_array($key)) {
|
||||
! is_array($key) && array_key_exists($key, $this->tenant)) {
|
||||
return $this->tenant[$key];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue