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

fix phpstan error

This commit is contained in:
Abrar Ahmad 2022-11-22 14:09:59 +05:00
parent e970c160d0
commit c5f7de4b0e

View file

@ -34,7 +34,7 @@ class PrefixCacheTenancyBootstrapper implements TenancyBootstrapper
$this->originalPrefix = null; $this->originalPrefix = null;
} }
protected function setCachePrefix(string $prefix): void protected function setCachePrefix(null|string $prefix): void
{ {
$this->app['config']['cache.prefix'] = $prefix; $this->app['config']['cache.prefix'] = $prefix;