mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 11:34:02 +00:00
Apply fixes from StyleCI
This commit is contained in:
parent
4196d918d6
commit
df98c8126e
1 changed files with 2 additions and 2 deletions
|
|
@ -83,7 +83,7 @@ class DatabaseStorageDriver implements StorageDriver
|
||||||
{
|
{
|
||||||
// [WIP] [TODO] Temporary implementation, key has to be a custom column.
|
// [WIP] [TODO] Temporary implementation, key has to be a custom column.
|
||||||
$tenant = Tenant::where($key, $value)->first();
|
$tenant = Tenant::where($key, $value)->first();
|
||||||
|
|
||||||
if (! $tenant) {
|
if (! $tenant) {
|
||||||
throw new TenantDoesNotExistException($value, $key);
|
throw new TenantDoesNotExistException($value, $key);
|
||||||
}
|
}
|
||||||
|
|
@ -235,4 +235,4 @@ class TenantModelTODO
|
||||||
class DomainModelTODO
|
class DomainModelTODO
|
||||||
{
|
{
|
||||||
// TODO Use this w/ DB builder calls instead of an Eloquent model
|
// TODO Use this w/ DB builder calls instead of an Eloquent model
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue