-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[TypeInfo] Handle key-of
and value-of
types
#60655
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Be careful, there is 2 different
|
Oh, didn't know about that, I'll update the PR accordingly, thanks! |
54460fa
to
4c8d14b
Compare
Done. |
src/Symfony/Component/TypeInfo/TypeResolver/StringTypeResolver.php
Outdated
Show resolved
Hide resolved
4c8d14b
to
4457633
Compare
value-of
typekey-of
and value-of
types
Looks like a feature to me |
I consider this a bug because when I upgraded to Symfony 7.3 the TypeInfo component started throwing an exception. This is because 7.3 introduced handling type aliases, and my code had a So, until this is fixed I have to not use |
Thank you @mtarld. |
Add missing support for
key-of
andvalue-of
type.