1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-03-23 10:54:04 +00:00

phpstan fixes

This commit is contained in:
Samuel Štancl 2024-07-04 20:48:55 +02:00
parent 252e337ef8
commit 6b6c883234
5 changed files with 7 additions and 11 deletions

View file

@ -23,7 +23,7 @@ class TenantScope implements Scope
public function extend(Builder $builder): void
{
$builder->macro('withoutTenancy', function (Builder $builder) {
return $builder->withoutGlobalScope($this);
return $builder->withoutGlobalScope(static::class);
});
}
}