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

Apply fixes from StyleCI

This commit is contained in:
stancl 2019-09-07 17:46:57 +00:00 committed by StyleCI Bot
parent 6b716e5345
commit d9f4ba133a
2 changed files with 7 additions and 2 deletions

View file

@ -9,7 +9,10 @@ use Stancl\Tenancy\Tenant;
interface StorageDriver interface StorageDriver
{ {
public function createTenant(Tenant $tenant): bool; // todo return type public function createTenant(Tenant $tenant): bool; // todo return type
public function updateTenant(Tenant $tenant): bool; // todo return type public function updateTenant(Tenant $tenant): bool; // todo return type
public function findById(string $id): Tenant; public function findById(string $id): Tenant;
public function findByDomain(string $domain): Tenant; public function findByDomain(string $domain): Tenant;
} }

View file

@ -1,8 +1,10 @@
<?php <?php
declare(strict_types=1);
namespace Stancl\Tenancy\Exceptions; namespace Stancl\Tenancy\Exceptions;
class NoTenantIdentifiedExceptions extends Exception class NoTenantIdentifiedException extends Exception
{ {
protected $message = 'No tenant has been identified yet.'; protected $message = 'No tenant has been identified yet.';
} }