phpdoc-parser icon indicating copy to clipboard operation
phpdoc-parser copied to clipboard

Generic type aliases

Open MidnightDesign opened this issue 1 year ago • 4 comments
trafficstars

MidnightDesign avatar Feb 15 '24 19:02 MidnightDesign

I'm starting to implement phpstan/phpstan#6099

@ondrejmirtes Am I heading in the right direction?

MidnightDesign avatar Feb 15 '24 19:02 MidnightDesign

Hi, there's been a similar effort for generic callable types, and I think the recommendation from there might apply to your PR as well: https://github.com/phpstan/phpdoc-parser/pull/199#pullrequestreview-1702914878

jiripudil avatar Feb 18 '24 19:02 jiripudil

@jiripudil Thanks for the heads-up. I'll try to take another look at it when I get the chance.

MidnightDesign avatar Feb 19 '24 06:02 MidnightDesign

Please see https://github.com/phpstan/phpdoc-parser/pull/232 and try to get inspired by that

ondrejmirtes avatar Feb 23 '24 16:02 ondrejmirtes