You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PHPUnit 7.1-gfafd3c555 by Sebastian Bergmann and contributors.
E 1 / 1 (100%)
Time: 68 ms, Memory: 4.00MB
There was 1 error:
1) Test::testOne
TypeError: Return value of Mock_C_06141907::m() must be of the type integer, string returned
/home/sb/Test.php:19
ERRORS!
Tests: 1, Assertions: 0, Errors: 1.
The text was updated successfully, but these errors were encountered:
willReturn()
should raise an error when a return value is configured that does not match the stubbed method's return value.Actual:
TypeError
when stubbed method is invokedThe text was updated successfully, but these errors were encountered: