phpstan / phpdoc-parser

Next-gen phpDoc parser with support for intersection types and generics
MIT License
1.35k stars 61 forks source link

@template-default T=5 #247

Closed ahjdev closed 1 month ago

ahjdev commented 4 months ago

The parser cannot detect @template-default T=5 (Which is I found it in psalm)

ondrejmirtes commented 1 month ago

Psalm does not support this syntax. See an open issue: https://github.com/vimeo/psalm/issues/5407

This has been recently implemented this using @template T = 5: https://x.com/OndrejMirtes/status/1843920480342057154

ahjdev commented 1 month ago

Oh tnx

github-actions[bot] commented 1 week ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.