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 return type at EntityManagerInterface::get(Partial)Reference() #8922

Merged
merged 1 commit into from
Sep 11, 2021

Conversation

simPod
Copy link
Contributor

@simPod simPod commented Aug 16, 2021

@lcobucci mentioned this in #8920 (comment)

@derrabus
Copy link
Member

Looks reasonable. Can you make PHPStan and Psalm happy?

@simPod
Copy link
Contributor Author

simPod commented Aug 30, 2021

Ok, it's happy now.

@derrabus
Copy link
Member

Looks like we need to do the same with UnitOfWork as well to get rid of the baselined errors. But anyway, your changes should improve the DX already, so let's merge.

@derrabus derrabus merged commit 399b69a into doctrine:2.9.x Sep 11, 2021
@simPod simPod deleted the proxy branch September 11, 2021 11:56
derrabus added a commit to derrabus/orm that referenced this pull request Sep 11, 2021
* 2.9.x:
  Fix return type at `EntityManagerInterface::get(Partial)Reference()` (doctrine#8922)
  Fix class casing and avoid name collisions
  Remove unused performance base test class
  Drop unused test base classes
  Fix mapped superclass missing in discriminator map
derrabus added a commit to derrabus/orm that referenced this pull request Sep 11, 2021
* 2.9.x:
  Add extension point for the "embedded" XML node (doctrine#8992)
  Fix return type at `EntityManagerInterface::get(Partial)Reference()` (doctrine#8922)
  Fix class casing and avoid name collisions
  Remove unused performance base test class
  Drop unused test base classes
  Fix mapped superclass missing in discriminator map
derrabus added a commit to derrabus/orm that referenced this pull request Sep 11, 2021
* 2.9.x:
  Remove Proxy from EntityManagerInterface contract
  Add extension point for the "embedded" XML node (doctrine#8992)
  Fix return type at `EntityManagerInterface::get(Partial)Reference()` (doctrine#8922)
  Fix class casing and avoid name collisions
  Remove unused performance base test class
  Drop unused test base classes
  Fix mapped superclass missing in discriminator map
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.

2 participants