Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Cache] Fix ArrayAdapter::freeze() return type #52040

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
Oct 13, 2023

Conversation

fancyweb
Copy link
Contributor

Q A
Branch? 6.3
Bug fix? yes
New feature? no
Deprecations? no
Tickets #51867
License MIT

Enums are not serialized and this is good: they don't need to be frozen since they are immutable.
The fix is to widen the return type.

@nicolas-grekas
Copy link
Member

Thank you @fancyweb.

@nicolas-grekas nicolas-grekas merged commit cf53ed1 into symfony:6.3 Oct 13, 2023
@fancyweb fancyweb deleted the cache/fix-aa-rt branch October 13, 2023 10:12
@fabpot fabpot mentioned this pull request Oct 21, 2023
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.

3 participants