src/Validation/Spec/AbstractValidator.php
protected function memberRequired(string $path, string $member): void
    {
        $this->errors->add($this->translator->memberRequired($path, $member));
    }
protected function memberRequired(string $path, string $member): void
    {
        $this->errors->add($this->translator->memberRequired($path, $member));
    }
Add an error for a member that is required.

@param string $path
@param string $member
@return void