Filament::getTenant() has no such method
The getTenant method returns a generic type object which ofcourse doesn't have the same methods as my tenant model, is there any way to tell my IDE/PHPStan that those methods do exists?
Example:
Error that i get:
Example:
Error that i get:
51 Access to an undefined property Illuminate\Database\Eloquent\Model::$id.