mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 11:34:02 +00:00
Fix Typo in TenantCouldNotBeIdentifiedById
This commit is contained in:
parent
916c6ec2af
commit
d2e0b18963
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue