mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 11:34:03 +00:00
fix phpstan errors
This commit is contained in:
parent
18a16e6a74
commit
4372e1bef2
20 changed files with 105 additions and 16 deletions
|
|
@ -42,6 +42,9 @@ class Link extends Command
|
|||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param LazyCollection<covariant int|string, \Stancl\Tenancy\Contracts\Tenant&\Illuminate\Database\Eloquent\Model> $tenants
|
||||
*/
|
||||
protected function removeLinks(LazyCollection $tenants): void
|
||||
{
|
||||
(new RemoveStorageSymlinksAction)($tenants);
|
||||
|
|
@ -49,6 +52,9 @@ class Link extends Command
|
|||
$this->components->info('The links have been removed.');
|
||||
}
|
||||
|
||||
/**
|
||||
* @param LazyCollection<covariant int|string, \Stancl\Tenancy\Contracts\Tenant&\Illuminate\Database\Eloquent\Model> $tenants
|
||||
*/
|
||||
protected function createLinks(LazyCollection $tenants): void
|
||||
{
|
||||
(new CreateStorageSymlinksAction)(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue