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 parameter/return type validation for interfaces (introduced in #734) #743

Merged

Conversation

Majkl578
Copy link
Contributor

@Majkl578 Majkl578 commented Oct 6, 2016

Something that unfortunately got through in #734 after recent refactoring and caused UnexpectedValueException when inteface was used in parameter or return type. (Original piece of code used to catch ReflectionException instead.)
Noticed when testing against code-base with getFoo() : Collection.

@Ocramius Ocramius added the Bug label Oct 6, 2016
@Ocramius Ocramius added this to the 2.7.0 milestone Oct 6, 2016
@Ocramius Ocramius self-assigned this Oct 6, 2016
@Ocramius Ocramius merged commit f74f44d into doctrine:master Oct 6, 2016
@Ocramius
Copy link
Member

Ocramius commented Oct 6, 2016

@Majkl578 thanks for keeping an eye on it! Well spotted!

@Majkl578 Majkl578 deleted the proxygenerator-fix-interface-typehints branch October 6, 2016 03:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants