-
Notifications
You must be signed in to change notification settings - Fork 75
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
Psalm seems to be unable to infer the type of the following assignment:
$users = User::select('name', 'email');(The correct type would be Illuminate\Database\Eloquent\Builder<User>.)
Describe the solution you'd like
Support this syntax.
Describe alternatives you've considered
Workaround is to call User::query()->select('name', 'email') directly.
Additional context
(None.)
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request