ModelScopeTypeResolver
class ModelScopeTypeResolver
Bind model-relative types resolved for an Eloquent receiver.
Methods
static Type
bindToModel(Type $type, ClassReflection $modelClass)
Bind late-static types to the concrete model receiving the scope.
Details
at line 22
static Type
bindToModel(Type $type, ClassReflection $modelClass)
Bind late-static types to the concrete model receiving the scope.
PHPStan binds inherited method types to their declaring class until they are explicitly rebased.