-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Closed
Description
Symfony version(s) affected
7.3.0
Description
I am getting DomainException: Unhandled "value-of" identifier. when trying to parse a type with phpstan's value-of type.
https://phpstan.org/writing-php-code/phpdoc-types#key-and-value-types-of-arrays-and-iterables
How to reproduce
* @var value-of<FooEnum>
Possible Solution
I believe we need to add a case for value-of in the StringTypeResolver.
Additional Context
No response