mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 19:14:04 +00:00
phpstan fixes
This commit is contained in:
parent
252e337ef8
commit
6b6c883234
5 changed files with 7 additions and 11 deletions
|
|
@ -22,7 +22,7 @@ class ParentModelScope implements Scope
|
|||
public function extend(Builder $builder): void
|
||||
{
|
||||
$builder->macro('withoutParentModel', function (Builder $builder) {
|
||||
return $builder->withoutGlobalScope($this);
|
||||
return $builder->withoutGlobalScope(static::class);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue