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

Merge branch '1.x' of github.com:stancl/tenancy into 1.x

This commit is contained in:
Samuel Štancl 2019-08-19 11:02:00 +02:00
commit caf6e5f62c

View file

@ -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;
} }