Misleading types in PHPDoc blocks or not detailed information #6037
Unanswered
alies-dev
asked this question in
Ideas & Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
\Laravel\Nova\Fields\HasDownload::download
but ideally the trait should use a
@templatesyntax:@template TModel of \Illuminate\Database\Eloquent\Model:\Laravel\Nova\Actions\Action
Use conditional return types for methods that use
func_num_args:These changes will help static analysis tools (Psalm and PHPStan) a lot.
Beta Was this translation helpful? Give feedback.
All reactions