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

Fix Typo in TenantCouldNotBeIdentifiedById

This commit is contained in:
Cristian Tudorache 2020-11-12 16:03:05 +02:00
parent 916c6ec2af
commit d2e0b18963

View file

@ -9,7 +9,7 @@ use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Traits\Macroable; use Illuminate\Support\Traits\Macroable;
use Stancl\Tenancy\Contracts\TenancyBootstrapper; use Stancl\Tenancy\Contracts\TenancyBootstrapper;
use Stancl\Tenancy\Contracts\Tenant; use Stancl\Tenancy\Contracts\Tenant;
use Stancl\Tenancy\Exceptions\TenantCountNotBeIdentifiedById; use Stancl\Tenancy\Exceptions\TenantCouldNotBeIdentifiedById;
class Tenancy class Tenancy
{ {
@ -36,7 +36,7 @@ class Tenancy
$tenant = $this->find($tenantId); $tenant = $this->find($tenantId);
if (! $tenant) { if (! $tenant) {
throw new TenantCountNotBeIdentifiedById($tenantId); throw new TenantCouldNotBeIdentifiedById($tenantId);
} }
} }