diff --git a/src/TenantManager.php b/src/TenantManager.php index 417c661d..111d0e51 100644 --- a/src/TenantManager.php +++ b/src/TenantManager.php @@ -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; }