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
{{ message }}
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.
This issue has been automatically marked as stale because it has not had activity within the last 60 days. It will be closed after 7 days if no further activity occurs. Thank you for your contributions.
I'm facing a strange behavior when trying to mock a method that provide a return type which is an integer.
When you provide
willReturn()
with aboolean
orfloat
, The mocked object will type cast the given value into aninteger
silently:PHP v7.0.10
PHPUnit v5.5.5
Is that desired ?
The text was updated successfully, but these errors were encountered: