diff --git a/src/TenantManager.php b/src/TenantManager.php index 1409a36f..5c84bd89 100644 --- a/src/TenantManager.php +++ b/src/TenantManager.php @@ -273,7 +273,7 @@ final class TenantManager { $uuid = $uuid ?: $this->tenant['uuid']; - if (isset($this->tenant['uuid']) && $uuid === $this->tenant['uuid'] && isset($this->tenant[$key])) { + if (array_key_exists('uuid', $this->tenant) && $uuid === $this->tenant['uuid'] && array_key_exists($key, $this->tenant)) { return $this->tenant[$key]; }