Skip to content

[TypeInfo] Fix Type::fromValue with empty array #60961

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

Merged
merged 1 commit into from
Jun 30, 2025

Conversation

norkunas
Copy link
Contributor

Q A
Branch? 7.3
Bug fix? yes
New feature? no
Deprecations? no
Issues Fix #...
License MIT

Without this, it fails with Symfony\Component\TypeInfo\Exception\InvalidArgumentException: "int|string" is not a valid list key type.

@nicolas-grekas
Copy link
Member

Thank you @norkunas.

@nicolas-grekas nicolas-grekas merged commit d8a673a into symfony:7.3 Jun 30, 2025
8 of 11 checks passed
@norkunas norkunas deleted the fix-fromValue-with-empty-array branch June 30, 2025 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants