src/Validator/Between.php
Method validate
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function validate($value, array $context = []): bool
{
if (!is_int($value) && !is_double($value)) {
$this->error = new Error('NO_NUMBER', $value, 'value should be a number');
return false;