Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add support for getRepository() call on ObjectManager interface #17

Merged

Conversation

pauci
Copy link
Contributor

@pauci pauci commented Dec 4, 2017

In our code we mostly typehint entity manager as EntityManagerInterface or even ObjectManager interface. This change should add support for them as well as for doctrine ODM's DocumentManager.

@ondrejmirtes ondrejmirtes merged commit c1f3523 into phpstan:master Dec 4, 2017
@ondrejmirtes
Copy link
Member

Thanks! :)

@enumag
Copy link
Contributor

enumag commented Jan 4, 2018

@ondrejmirtes Can I ask for a new release? I just had this issue, wanted to send a PR and noticed it was already fixed but not released.

@ondrejmirtes
Copy link
Member

I just released 0.9.1 that includes this.

@enumag
Copy link
Contributor

enumag commented Jan 4, 2018

@ondrejmirtes Thank you!

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

Successfully merging this pull request may close these issues.

3 participants