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

Describe return types more accurately #8644

Merged
merged 2 commits into from
Apr 22, 2021

Conversation

greg0ire
Copy link
Member

This fixes an SA regression introduced when using stricter types in
SchemaTool.

Fixes #8642

This fixes an SA regression introduced when using stricter types in
SchemaTool.

Fixes doctrine#8642
@greg0ire greg0ire force-pushed the more-accurate-return-type branch from 9061d68 to eb860a7 Compare April 19, 2021 17:27
@greg0ire
Copy link
Member Author

@orklah @simPod please review

Copy link
Contributor

@simPod simPod left a comment

Choose a reason for hiding this comment

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

As a fix this works 👌🏾.

Generics as mentioned here #8642 (comment) can be added in the future IMO.

@greg0ire
Copy link
Member Author

I gave it a try, you can take a look at doctrine/persistence#167

@greg0ire greg0ire added this to the 2.8.5 milestone Apr 22, 2021
@greg0ire greg0ire merged commit 996c1c7 into doctrine:2.8.x Apr 22, 2021
@greg0ire greg0ire deleted the more-accurate-return-type branch April 22, 2021 20:31
@greg0ire
Copy link
Member Author

Once 2.2.0 is released, I will use generics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How to create schema using Schema tool in v2.9.x?
3 participants