mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 20:34:03 +00:00
Make getCustomColumns() static in SingleDomainTenant
This commit is contained in:
parent
e25e7b7961
commit
8b0bdd42ed
1 changed files with 1 additions and 7 deletions
|
|
@ -4,22 +4,16 @@ declare(strict_types=1);
|
||||||
|
|
||||||
namespace Stancl\Tenancy\Tests\Etc;
|
namespace Stancl\Tenancy\Tests\Etc;
|
||||||
|
|
||||||
use Stancl\Tenancy\Contracts;
|
|
||||||
use Stancl\Tenancy\Events;
|
|
||||||
use Stancl\Tenancy\Database\Concerns;
|
use Stancl\Tenancy\Database\Concerns;
|
||||||
use Illuminate\Database\Eloquent\Model;
|
|
||||||
use Stancl\VirtualColumn\VirtualColumn;
|
|
||||||
use Stancl\Tenancy\Database\TenantCollection;
|
|
||||||
use Stancl\Tenancy\Database\Models\Tenant as BaseTenant;
|
use Stancl\Tenancy\Database\Models\Tenant as BaseTenant;
|
||||||
use Stancl\Tenancy\Database\Contracts\TenantWithDatabase;
|
use Stancl\Tenancy\Database\Contracts\TenantWithDatabase;
|
||||||
use Stancl\Tenancy\Exceptions\TenancyNotInitializedException;
|
|
||||||
use Stancl\Tenancy\Contracts\SingleDomainTenant as SingleDomainTenantContract;
|
use Stancl\Tenancy\Contracts\SingleDomainTenant as SingleDomainTenantContract;
|
||||||
|
|
||||||
class SingleDomainTenant extends BaseTenant implements SingleDomainTenantContract, TenantWithDatabase
|
class SingleDomainTenant extends BaseTenant implements SingleDomainTenantContract, TenantWithDatabase
|
||||||
{
|
{
|
||||||
use Concerns\ConvertsDomainsToLowercase, Concerns\HasDatabase;
|
use Concerns\ConvertsDomainsToLowercase, Concerns\HasDatabase;
|
||||||
|
|
||||||
public function getCustomColumns(): array
|
public static function getCustomColumns(): array
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'id',
|
'id',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue