mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 12:54:05 +00:00
Apply fixes from StyleCI
This commit is contained in:
parent
6b716e5345
commit
d9f4ba133a
2 changed files with 7 additions and 2 deletions
|
|
@ -9,7 +9,10 @@ use Stancl\Tenancy\Tenant;
|
|||
interface StorageDriver
|
||||
{
|
||||
public function createTenant(Tenant $tenant): bool; // todo return type
|
||||
|
||||
public function updateTenant(Tenant $tenant): bool; // todo return type
|
||||
|
||||
public function findById(string $id): Tenant;
|
||||
|
||||
public function findByDomain(string $domain): Tenant;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,10 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Stancl\Tenancy\Exceptions;
|
||||
|
||||
class NoTenantIdentifiedExceptions extends Exception
|
||||
class NoTenantIdentifiedException extends Exception
|
||||
{
|
||||
protected $message = 'No tenant has been identified yet.';
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue