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

Apply fixes from StyleCI

This commit is contained in:
stancl 2019-08-19 08:56:13 +00:00 committed by StyleCI Bot
parent 314b2d3003
commit 1818e590e0

View file

@ -282,11 +282,13 @@ final class TenantManager
if (\is_array($key)) {
$data = $this->storage->getMany($uuid, $key);
$data = $this->useJson() ? $this->jsonDecodeArrayValues($data) : $data;
return $data;
}
$data = $this->storage->get($uuid, $key);
$data = $this->useJson() ? \json_decode($data, true) : $data;
return $data;
}