Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Same idea as #49179 but to add docblocks to improve IDE support like
/** var \Namespace\Class $variable */
. This is especially useful in Livewire components, Filament views and other Blade files where the IDE can not infer the variable types.This is only an addition, so shouldn't cause any trouble or disturbance - unless someone has create a custom Blade directive called
@var
.A minor addition for convenience when adding extra type information for your IDE in Blade components.
Benefits
Example (Filament table in this case)
Caveats
IDE support won't be there initially for folks, so there will be squigglies.
Credits to @simonhamp for a decent part of this PR description text (based on #49179)