lint/laravel/add-legacy-relation-generics
In the types set. Unsafe fix: it can change behaviour. Runs when laravel is installed. Planned: not in Pun yet. Enabling it is a config error.
What it does
Add generic return type to relations in child of Illuminate\Database\Eloquent\Model
Replaces
AddLegacyGenericReturnTypeToRelations(rector-laravel)