idea-php-phpunit-plugin
idea-php-phpunit-plugin copied to clipboard
Possibility of null pointer exception when mocked method have a optional return
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:
Error accused:
Here is the original method: