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
At the moment the nullOr assertions are not considering the null input value. For example the nullOrIp assertion type hints on string. Shouldn't it be more correct to add also the null type hint?
It's not possible to use ?string since the library targets php 7.0, but it should be ok to use string|null or just use string $value = null
The text was updated successfully, but these errors were encountered:
At the moment the
nullOr
assertions are not considering thenull
input value. For example thenullOrIp
assertion type hints onstring
. Shouldn't it be more correct to add also thenull
type hint?It's not possible to use
?string
since the library targets php 7.0, but it should be ok to usestring|null
or just usestring $value = null
The text was updated successfully, but these errors were encountered: