1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 19:34:04 +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\Contracts\Foundation\Application;
use Stancl\Tenancy\Contracts\TenancyBootstrapper;
use Stancl\Tenancy\CacheManager as TenantCacheManager;
use Stancl\Tenancy\Contracts\TenancyBootstrapper;
use Stancl\Tenancy\Tenant;
class CacheTenancyBootstrapper implements TenancyBootstrapper
class CacheTenancyBoostrapper implements TenancyBootstrapper
{
/** @var CacheManager */
protected $originalCache;

View file

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