We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
E.g. if I create a new ModelB with a relation to ModelA, it will generate:
public function ModelA(): BelongsTo { return $this->belongsTo(ModelA::class); }
I would like to see
/** * @return BelongsTo<ModelA, ModelB> */ public function ModelA(): BelongsTo { return $this->belongsTo(ModelA::class); }
Currently I have to generate the docs separately, and then go in and add the type hinting manually.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Feature Description
E.g. if I create a new ModelB with a relation to ModelA, it will generate:
I would like to see
Currently I have to generate the docs separately, and then go in and add the type hinting manually.
The text was updated successfully, but these errors were encountered: