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

Apply fixes from StyleCI

This commit is contained in:
stancl 2020-05-24 18:40:24 +00:00 committed by StyleCI Bot
parent 2839f45196
commit 1a85bca7ee
4 changed files with 9 additions and 4 deletions

View file

@ -1,5 +1,7 @@
<?php <?php
declare(strict_types=1);
namespace Stancl\Tenancy\Database\Concerns; namespace Stancl\Tenancy\Database\Concerns;
use Stancl\Tenancy\Exceptions\DomainOccupiedByOtherTenantException; use Stancl\Tenancy\Exceptions\DomainOccupiedByOtherTenantException;

View file

@ -1,5 +1,7 @@
<?php <?php
declare(strict_types=1);
namespace Stancl\Tenancy\Database\Concerns; namespace Stancl\Tenancy\Database\Concerns;
trait HasInternalKeys trait HasInternalKeys

View file

@ -1,5 +1,7 @@
<?php <?php
declare(strict_types=1);
namespace Stancl\Tenancy\Database\Concerns; namespace Stancl\Tenancy\Database\Concerns;
use Stancl\Tenancy\Contracts\Tenant; use Stancl\Tenancy\Contracts\Tenant;
@ -9,7 +11,6 @@ trait TenantRun
public function run(callable $callback) public function run(callable $callback)
{ {
/** @var Tenant $this */ /** @var Tenant $this */
$originalTenant = tenant(); $originalTenant = tenant();
tenancy()->initialize($this); tenancy()->initialize($this);