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
phpstan does fine with this, but the highlighting was messed up in Zed. The issue is that we are requiring a return type for @method, so the above resulted in a parse error, but phpstan seems to not care if one exists or not.
Noticed while using Zed w/ this docblock:
phpstan does fine with this, but the highlighting was messed up in Zed. The issue is that we are requiring a return type for
@method
, so the above resulted in a parse error, but phpstan seems to not care if one exists or not.This snippet was colored correctly:
Suggestion: make return type optional to match behavior of phpstan.
The text was updated successfully, but these errors were encountered: