tflori/verja

View on GitHub
src/Validator/Between.php

Summary

Maintainability
A
1 hr
Test Coverage
A
100%

Method validate has 29 lines of code (exceeds 25 allowed). Consider refactoring.
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;
Severity: Minor
Found in src/Validator/Between.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status