Skip to content

Fix wrong return type hint for selectManager#57

Merged
ostrolucky merged 1 commit intodoctrine:1.1.xfrom
alcaeus:fix-selectmanager-signature
Apr 23, 2019
Merged

Fix wrong return type hint for selectManager#57
ostrolucky merged 1 commit intodoctrine:1.1.xfrom
alcaeus:fix-selectmanager-signature

Conversation

@alcaeus
Copy link
Member

@alcaeus alcaeus commented Apr 23, 2019

As indicated by @ostrolucky in #50 (comment), the method can't return null unless getService violates its contract and returns null. Fixing the type hint in 1.1.x makes sense.

@alcaeus alcaeus added this to the 1.1.1 milestone Apr 23, 2019
@alcaeus alcaeus self-assigned this Apr 23, 2019
@ostrolucky ostrolucky merged commit 3da7c9d into doctrine:1.1.x Apr 23, 2019
@alcaeus alcaeus deleted the fix-selectmanager-signature branch April 23, 2019 08:39
@alcaeus alcaeus added the Enhancement New feature or request label Apr 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants