mirror of
https://github.com/archtechx/tenancy.git
synced 2026-06-20 20:44:03 +00:00
Ignore PHPStan error
PHPStan complains that createDatabaseDriver is a protected method on CacheManager. Since PHPStan doesn't handle $this in the extend()'s closure well, I'm adding an ignore.
This commit is contained in:
parent
f65b05549f
commit
ff8f73ec08
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ class TenancyServiceProvider extends ServiceProvider
|
|||
$config['connection'] ??= $centralConnection;
|
||||
|
||||
/** @var CacheManager $this */
|
||||
return $this->createDatabaseDriver($config);
|
||||
return $this->createDatabaseDriver($config); // @phpstan-ignore method.protected
|
||||
});
|
||||
|
||||
// DatabaseCacheBootstrapper explicitly writes 'tenant' into each store's 'connection'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue