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

Fix types

This commit is contained in:
lukinovec 2023-02-01 11:33:09 +01:00
parent cc9928bc34
commit 95170312ea

View file

@ -4,12 +4,12 @@ declare(strict_types=1);
namespace Stancl\Tenancy\Bootstrappers; namespace Stancl\Tenancy\Bootstrappers;
use Illuminate\Cache\CacheManager;
use Illuminate\Cache\Repository; use Illuminate\Cache\Repository;
use Illuminate\Contracts\Config\Repository as RepositoryContract; use Illuminate\Cache\CacheManager;
use Stancl\Tenancy\Contracts\Tenant;
use Illuminate\Support\Facades\Cache; use Illuminate\Support\Facades\Cache;
use Stancl\Tenancy\Contracts\TenancyBootstrapper; use Stancl\Tenancy\Contracts\TenancyBootstrapper;
use Stancl\Tenancy\Contracts\Tenant; use Illuminate\Contracts\Config\Repository as ConfigRepository;
class PrefixCacheTenancyBootstrapper implements TenancyBootstrapper class PrefixCacheTenancyBootstrapper implements TenancyBootstrapper
{ {
@ -18,7 +18,7 @@ class PrefixCacheTenancyBootstrapper implements TenancyBootstrapper
public static array $tenantCacheStores = []; public static array $tenantCacheStores = [];
public function __construct( public function __construct(
protected RepositoryContract $config, protected ConfigRepository $config,
protected CacheManager $cacheManager, protected CacheManager $cacheManager,
) { ) {
} }