Currently "numeric" is treated as int|float, however it's actually int|float|string (phpdoc: int|float|numeric-string) Additionally, this means that the existing is_int|is_float condition it adds atm is wrong. It should be using is_numeric.