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

Apply fixes from StyleCI

This commit is contained in:
stancl 2019-09-16 14:58:05 +00:00 committed by StyleCI Bot
parent 1532ccf019
commit d480ea63da
2 changed files with 4 additions and 4 deletions

View file

@ -6,11 +6,11 @@ namespace Stancl\Tenancy\TenancyBootstrappers;
use Illuminate\Cache\CacheManager; use Illuminate\Cache\CacheManager;
use Illuminate\Contracts\Foundation\Application; use Illuminate\Contracts\Foundation\Application;
use Stancl\Tenancy\Contracts\TenancyBootstrapper;
use Stancl\Tenancy\CacheManager as TenantCacheManager; use Stancl\Tenancy\CacheManager as TenantCacheManager;
use Stancl\Tenancy\Contracts\TenancyBootstrapper;
use Stancl\Tenancy\Tenant; use Stancl\Tenancy\Tenant;
class CacheTenancyBootstrapper implements TenancyBootstrapper class CacheTenancyBoostrapper implements TenancyBootstrapper
{ {
/** @var CacheManager */ /** @var CacheManager */
protected $originalCache; protected $originalCache;

View file

@ -193,7 +193,7 @@ class TenantManager
return $this; return $this;
} }
/** @alias endTenancy */ /** @alias endTenancy */
public function end(): self public function end(): self
{ {
@ -209,7 +209,7 @@ class TenantManager
public function getTenant(string $key = null) public function getTenant(string $key = null)
{ {
if (! $this->tenant) { if (! $this->tenant) {
return null; return;
} }
if (! is_null($key)) { if (! is_null($key)) {