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
If an attribute has an array type that has a defined shape, the generation of the docblock breaks. It would be nice, if this was supported.
/** * @param array{longitude: float|null, latitude: float|null} $coordinates */ public function setCenterAttribute(array $coordinates): void {} /** * @return array{longitude: float|null, latitude: float|null} */ public function getCenterAttribute(): array {}
generates the following docblock:
/** * @property \App\Models\array{longitude: $center * @mixin \Eloquent */
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Summary
If an attribute has an array type that has a defined shape, the generation of the docblock breaks. It would be nice, if this was supported.
Example:
generates the following docblock:
The text was updated successfully, but these errors were encountered: