src/Validator.php
public function presentAndUniqueWhere($field_name, $where, ...$context)
    {
        if ($this->present($field_name)) {
            return $this->uniqueWhere($field_name, $where, ...$context);
        }

        return false;
    }
public function presentAndUniqueWhere($field_name, $where, ...$context)
    {
        if ($this->present($field_name)) {
            return $this->uniqueWhere($field_name, $where, ...$context);
        }

        return false;
    }
{@inheritdoc}