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

Skip to content

Describe return types more accurately#8644

Merged
greg0ire merged 2 commits into
doctrine:2.8.xfrom
greg0ire:more-accurate-return-type
Apr 22, 2021
Merged

Describe return types more accurately#8644
greg0ire merged 2 commits into
doctrine:2.8.xfrom
greg0ire:more-accurate-return-type

Conversation

@greg0ire
Copy link
Copy Markdown
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
Copy Markdown
Member Author

@orklah @simPod please review

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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