diff --git a/src/CacheManager.php b/src/CacheManager.php index 6a662c9a..92013919 100644 --- a/src/CacheManager.php +++ b/src/CacheManager.php @@ -41,7 +41,6 @@ class CacheManager extends BaseCacheManager return parent::__call($method, $parameters); } - public function refreshStore(string|null $repository = null): void { $newStore = $this->resolve($repository ?? $this->getDefaultDriver())->getStore(); diff --git a/src/TenancyServiceProvider.php b/src/TenancyServiceProvider.php index 4884d07b..37ad701b 100644 --- a/src/TenancyServiceProvider.php +++ b/src/TenancyServiceProvider.php @@ -4,17 +4,17 @@ declare(strict_types=1); namespace Stancl\Tenancy; -use Stancl\Tenancy\Enums\LogMode; use Illuminate\Cache\CacheManager; -use Stancl\Tenancy\Contracts\Domain; -use Stancl\Tenancy\Contracts\Tenant; +use Illuminate\Database\Console\Migrations\FreshCommand; use Illuminate\Support\Facades\Event; use Illuminate\Support\ServiceProvider; +use Stancl\Tenancy\Bootstrappers\FilesystemTenancyBootstrapper; +use Stancl\Tenancy\CacheManager as TenantCacheManager; +use Stancl\Tenancy\Contracts\Domain; +use Stancl\Tenancy\Contracts\Tenant; +use Stancl\Tenancy\Enums\LogMode; use Stancl\Tenancy\Events\Contracts\TenancyEvent; use Stancl\Tenancy\Resolvers\DomainTenantResolver; -use Stancl\Tenancy\CacheManager as TenantCacheManager; -use Illuminate\Database\Console\Migrations\FreshCommand; -use Stancl\Tenancy\Bootstrappers\FilesystemTenancyBootstrapper; class TenancyServiceProvider extends ServiceProvider {