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

Fix build for DBAL 4 #10354

Merged

Conversation

derrabus
Copy link
Member

This PR fixes the build after the changes of doctrine/dbal#5839.

@derrabus derrabus added the Bug label Dec 30, 2022
@derrabus derrabus added this to the 3.0.0 milestone Dec 30, 2022
@@ -1044,7 +1046,7 @@ protected function getHydrationCacheId(): array
ksort($hints);
assert($queryCacheProfile !== null);

return $queryCacheProfile->generateCacheKeys($sql, $parameters, $hints);
return $queryCacheProfile->generateCacheKeys($sql, $parameters, $types, $hints);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is actually an interesting find. We've called this method the wrong way the whole time. 🫣

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Backported as #10355.

@derrabus derrabus force-pushed the bugfix/dbal-4-array-parameter-type branch from a39ecaf to a30b644 Compare December 30, 2022 22:04
@derrabus derrabus merged commit 9062af4 into doctrine:3.0.x Dec 31, 2022
@derrabus derrabus deleted the bugfix/dbal-4-array-parameter-type branch December 31, 2022 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants