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:
parent
dabaff1338
commit
7eba041509
3 changed files with 4 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue