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

Apply fixes from StyleCI

This commit is contained in:
stancl 2019-09-15 15:44:41 +00:00 committed by StyleCI Bot
parent 27ded685f8
commit 359766ccfa
2 changed files with 2 additions and 2 deletions

View file

@ -211,7 +211,7 @@ class Tenant implements ArrayAccess
if (is_array($keys)) {
if ((array_intersect(array_keys($this->data), $keys) === $keys) ||
! $this->persisted) { // if all keys are present in cache
return array_reduce($keys, function ($pairs, $key) {
$pairs[$key] = $this->data[$key] ?? null;

View file

@ -106,7 +106,7 @@ abstract class TestCase extends \Orchestra\Testbench\TestCase
'tenancy.storage_driver' => RedisStorageDriver::class,
]);
// tenancy()->storage = $app->make(RedisStorageDriver::class); // todo this shouldn't be necessary
// tenancy()->storage = $app->make(RedisStorageDriver::class); // todo this shouldn't be necessary
} elseif (env('TENANCY_TEST_STORAGE_DRIVER', 'redis') === 'db') {
$app['config']->set([
'tenancy.storage_driver' => DatabaseStorageDriver::class,