You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The @spell part is coming from neovim; that's not something that is added or related this grammar. I can confirm, though, that variadic params aren't supported. (In this case, ...$attributes is being parsed as if it were a description of the param, which is probably why neovim is saying that it needs spellchecking (I assume that's what @spell if for).)
I would welcome a PR that adds support for variadic params.
claytonrcarter
changed the title
Variadic @param not recognized as type, only as spell
FR: support variadics with @param
Sep 5, 2024
Hello,
I'm on neovim using treesitter and I'm encountering the following issue :
As you can see, the Variadic param type is not correctly recognized. It's considered as
@spell
instead of
@type.phpdoc
The text was updated successfully, but these errors were encountered: