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
Even php itself issues no Exception when passing NAN into this constructor with float typehint.
Would it be feasible to add a isNotNan check and/or update existing assertions to take this (inconsistency?) into account?
The text was updated successfully, but these errors were encountered:
Hey,
Thanks for this handy package.
PHP has some weird constructs regarding NAN
Note this repl output:
We're dealing with code like this:
Even php itself issues no Exception when passing NAN into this constructor with
float
typehint.Would it be feasible to add a
isNotNan
check and/or update existing assertions to take this (inconsistency?) into account?The text was updated successfully, but these errors were encountered: