1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 06:04:03 +00:00

Apply fixes from StyleCI

This commit is contained in:
stancl 2019-10-24 17:22:46 +00:00 committed by StyleCI Bot
parent 4196d918d6
commit df98c8126e

View file

@ -83,7 +83,7 @@ class DatabaseStorageDriver implements StorageDriver
{
// [WIP] [TODO] Temporary implementation, key has to be a custom column.
$tenant = Tenant::where($key, $value)->first();
if (! $tenant) {
throw new TenantDoesNotExistException($value, $key);
}
@ -235,4 +235,4 @@ class TenantModelTODO
class DomainModelTODO
{
// TODO Use this w/ DB builder calls instead of an Eloquent model
}
}