1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 20:34:03 +00:00

Get multiple envs (redis/db) to run correctly

This commit is contained in:
Samuel Štancl 2019-09-17 19:39:57 +02:00
parent 9c9858e97e
commit 8565cc7acc
19 changed files with 31 additions and 35 deletions

View file

@ -240,7 +240,7 @@ class Tenant implements ArrayAccess
public function put($key, $value = null): self
{
if ($key === 'id') {
throw new TenantStorageException("The tenant's id can't be changed.");
throw new TenantStorageException("Tenant ids can't be changed.");
}
if (is_array($key)) {