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

Add mixed to the return type of ObjectProphecy::reveal() #61

Open
tjlytle opened this issue Aug 19, 2020 · 0 comments
Open

Add mixed to the return type of ObjectProphecy::reveal() #61

tjlytle opened this issue Aug 19, 2020 · 0 comments

Comments

@tjlytle
Copy link

tjlytle commented Aug 19, 2020

PhpStorm complains about the type being wrong for methods with typed arguments because the annotated return value of reveal() is object and (I think) this plugin adds ProphecySubjectInterface. If mixed is added as well, PhpStorm should stop complaining that object|ProphecySubjectInterface don't match the expected type.

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

No branches or pull requests

1 participant