mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 06:44:04 +00:00
Cast $value to string
This commit is contained in:
parent
51cdf55210
commit
375af1d0a2
1 changed files with 1 additions and 1 deletions
|
|
@ -121,7 +121,7 @@ class DatabaseStorageDriver implements StorageDriver, CanDeleteKeys, CanFindByAn
|
|||
$tenant = $this->tenants->findBy($key, $value);
|
||||
|
||||
if (! $tenant) {
|
||||
throw new TenantDoesNotExistException($value, $key);
|
||||
throw new TenantDoesNotExistException((string) $value, $key);
|
||||
}
|
||||
|
||||
return Tenant::fromStorage($this->tenants->decodeData($tenant))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue