mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 08:14:02 +00:00
Fix facade test
This commit is contained in:
parent
d684931b3c
commit
d20e0740a7
1 changed files with 4 additions and 3 deletions
|
|
@ -5,16 +5,17 @@ declare(strict_types=1);
|
|||
namespace Stancl\Tenancy\Facades;
|
||||
|
||||
use Illuminate\Support\Facades\Facade;
|
||||
use Stancl\Tenancy\Tenant as TenantObject;
|
||||
|
||||
class Tenant extends Facade
|
||||
{
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return Tenant::class;
|
||||
return TenantObject::class;
|
||||
}
|
||||
|
||||
public static function create($domains, array $data = []): \Stancl\Tenancy\Tenant
|
||||
public static function create($domains, array $data = []): TenantObject
|
||||
{
|
||||
return Tenant::create($domains, $data);
|
||||
return TenantObject::create($domains, $data);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue