mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 15:54:03 +00:00
Merge branch '1.x' of github.com:stancl/tenancy into 1.x
This commit is contained in:
commit
caf6e5f62c
1 changed files with 2 additions and 0 deletions
|
|
@ -282,11 +282,13 @@ final class TenantManager
|
||||||
if (\is_array($key)) {
|
if (\is_array($key)) {
|
||||||
$data = $this->storage->getMany($uuid, $key);
|
$data = $this->storage->getMany($uuid, $key);
|
||||||
$data = $this->useJson() ? $this->jsonDecodeArrayValues($data) : $data;
|
$data = $this->useJson() ? $this->jsonDecodeArrayValues($data) : $data;
|
||||||
|
|
||||||
return $data;
|
return $data;
|
||||||
}
|
}
|
||||||
|
|
||||||
$data = $this->storage->get($uuid, $key);
|
$data = $this->storage->get($uuid, $key);
|
||||||
$data = $this->useJson() ? \json_decode($data, true) : $data;
|
$data = $this->useJson() ? \json_decode($data, true) : $data;
|
||||||
|
|
||||||
return $data;
|
return $data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue