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 was archived by the owner on Jan 8, 2020. It is now read-only.
The float validator does not set a error message if value is not a float.
Method "isValid(...)" does only set a error if the value is INVALID. For NOT_FLOAT status the method "$this->error(...)" will not be called. If validator will be used for checking a value the validator will return "false" for none float values but the error message is empty.
Problem could be fixed if you add "$this->error(self::NOT_FLOAT);" before "return false;" on "isValid(...)" method.
The float validator does not set a error message if value is not a float.
Method "isValid(...)" does only set a error if the value is INVALID. For NOT_FLOAT status the method "$this->error(...)" will not be called. If validator will be used for checking a value the validator will return "false" for none float values but the error message is empty.
Problem could be fixed if you add "$this->error(self::NOT_FLOAT);" before "return false;" on "isValid(...)" method.