mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-06 02:44:02 +00:00
fix phpstan errors
This commit is contained in:
parent
18a16e6a74
commit
4372e1bef2
20 changed files with 105 additions and 16 deletions
|
|
@ -15,6 +15,9 @@ class RemoveStorageSymlinksAction
|
|||
{
|
||||
use DealsWithTenantSymlinks;
|
||||
|
||||
/**
|
||||
* @param Tenant|Collection<covariant int|string, Tenant&\Illuminate\Database\Eloquent\Model>|LazyCollection<covariant int|string, Tenant&\Illuminate\Database\Eloquent\Model> $tenants
|
||||
*/
|
||||
public function __invoke(Tenant|Collection|LazyCollection $tenants): void
|
||||
{
|
||||
$tenants = $tenants instanceof Tenant ? collect([$tenants]) : $tenants;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue