From c5f7de4b0eb27d0bf3a9877e7db5a6c22bcc27f6 Mon Sep 17 00:00:00 2001 From: Abrar Ahmad Date: Tue, 22 Nov 2022 14:09:59 +0500 Subject: [PATCH] fix phpstan error --- src/Bootstrappers/PrefixCacheTenancyBootstrapper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bootstrappers/PrefixCacheTenancyBootstrapper.php b/src/Bootstrappers/PrefixCacheTenancyBootstrapper.php index b1d35a00..995de0ba 100644 --- a/src/Bootstrappers/PrefixCacheTenancyBootstrapper.php +++ b/src/Bootstrappers/PrefixCacheTenancyBootstrapper.php @@ -34,7 +34,7 @@ class PrefixCacheTenancyBootstrapper implements TenancyBootstrapper $this->originalPrefix = null; } - protected function setCachePrefix(string $prefix): void + protected function setCachePrefix(null|string $prefix): void { $this->app['config']['cache.prefix'] = $prefix;