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

Possibility of null pointer exception when mocked method have a optional return

Open fredw opened this issue 7 years ago • 0 comments

When a prophesize class have a method with optional return the mocked method accuses an error of possibility of null pointer exception:

Warning on mocked method: deepinscreenshot_select-area_20171219151119

Error accused: deepinscreenshot_select-area_20171219151755

Here is the original method: deepinscreenshot_select-area_20171219151204

fredw avatar Dec 19 '17 17:12 fredw