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

Apply fixes from StyleCI

This commit is contained in:
stancl 2019-09-08 15:24:12 +00:00 committed by StyleCI Bot
parent dabaff1338
commit 7eba041509
3 changed files with 4 additions and 2 deletions

View file

@ -111,9 +111,11 @@ class Tenant implements ArrayAccess
if (array_intersect(array_keys($this->data), $keys)) { // if all keys are present in cache
return array_reduce($keys, function ($pairs, $key) {
$pairs[$key] = $this->data[$key];
return $pairs;
}, []);
}
return $this->storage->getMany($keys);
}