mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-14 17:04:03 +00:00
remove null check
This commit is contained in:
parent
c4f9324aa8
commit
e970c160d0
1 changed files with 2 additions and 4 deletions
|
|
@ -30,10 +30,8 @@ class PrefixCacheTenancyBootstrapper implements TenancyBootstrapper
|
||||||
|
|
||||||
public function revert(): void
|
public function revert(): void
|
||||||
{
|
{
|
||||||
if ($this->originalPrefix) {
|
$this->setCachePrefix($this->originalPrefix);
|
||||||
$this->setCachePrefix($this->originalPrefix);
|
$this->originalPrefix = null;
|
||||||
$this->originalPrefix = null;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function setCachePrefix(string $prefix): void
|
protected function setCachePrefix(string $prefix): void
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue