src/Filter/OneOf.php
public function isValid($input): bool
    {
        foreach ($this->getFilters() as $filter) {
            if (!$filter->isValid($input)) {
                continue;
            }

            return true;
        }

        return false;
    }
public function isValid($input): bool
    {
        foreach ($this->getFilters() as $filter) {
            if (!$filter->isValid($input)) {
                continue;
            }

            return true;
        }

        return false;
    }
{@inheritdoc}