Closed gotyefrid closed 2 months ago
Currently it is not supported.
I think for this case better make new rule that check value type, and use it combined with Integer
rule. For example:
#[Type(allows: [Type::Integer, Type::Float])]
#[Integer(min: 95)]
Now "Integer" validator allows three types of variables - they are integer, float and string. Is it possible to make the property accept ONLY integer type?
For example
or