Relations return type rector is incomplete
Closed this issue · 2 comments
chris-ware commented
When utilising the AddGenericReturnTypeToRelationsRector
rector, some of the relations it generates are incomplete. In my case, this mostly affects belongs to, where Larastan is expecting <RelatedModel, CurrentModel> but is only recieving . I have a feeling quite a few of the relationships have this expectation.
driftingly commented
@chris-ware Can you check this again?
@rene-bos has been doing a lot of work on this lately:
driftingly commented
Closing for now, feel free to reopen if this is still an issue.