idea-php-phpunit-plugin icon indicating copy to clipboard operation
idea-php-phpunit-plugin copied to clipboard

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

Open tjlytle opened this issue 3 years ago • 0 comments

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.

tjlytle avatar Aug 19 '20 15:08 tjlytle