Closed mikehaertl closed 2 years ago
Everything's fine with @param
and @property
. Here a better example that shows several combinations:
Thanks for the report. Confirmed. It seems that @param
and @property
are working properly b/c they require the variable to come between the type and description. Since @return
doesn't have that requirement, the description is being greedy and consuming the last segment of the type. For whatever reason, if there is only whitespace between the type and the newline, it works OK.
Ah 🤦 I wasn't get PR emails for this. I see you already have a fix in place in #4
A fully qualified name can also start with a backslash.
Even though they should not be strictly required they are not wrong either. In fact intelephense does not work well if I leave them away.
It also seems that if the namespace has more path components things break: