Skip to content
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

Document tuple return type of generateCacheKeys() #5834

Merged
merged 1 commit into from
Dec 19, 2022

Conversation

derrabus
Copy link
Member

@derrabus derrabus commented Dec 18, 2022

Q A
Type improvement
Fixed issues N/A

Summary

This fixes a static analysis error in the ORM. QueryCacheProfile::generateCacheKeys() always returns a tuple of exactly two strings, but its return type is declared as string[]. Let's be more precise here.

@derrabus derrabus merged commit 63e513c into doctrine:3.5.x Dec 19, 2022
@derrabus derrabus deleted the improvement/cache-keys branch December 19, 2022 08:17
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants