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

decode -> encode

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

View file

@ -342,7 +342,7 @@ final class TenantManager
foreach ($key as $k => $v) {
$target[$k] = $v;
$v = $this->useJson() ? \json_decode($v) : $v;
$v = $this->useJson() ? \json_encode($v) : $v;
$key[$k] = $v;
}