-
-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HasOneDeep is not generic #223
Comments
Hi @ahoiromanm /**
* @template TRelatedModel of \Illuminate\Database\Eloquent\Model
* @extends \Illuminate\Database\Eloquent\Relations\HasOneThrough<TRelatedModel>
*/
class HasOneDeep extends HasManyDeep
{ |
Hi Jonas, unfortunately it is not solving the problem. The error is exactly the same. |
Could be a caching issue, it works for me. Please run |
You are right. After clearing the cache it works with the changes you described. |
Great. I've released a new version with the comment. |
I got this relation:
But unfortunately, phpstan reports:
What can I do about it?
The text was updated successfully, but these errors were encountered: