src/Requests/FormRequest.php
private function customValidates()
    {
        if (count($this->customRules) > 0) {
            foreach ($this->customRules as $field => $value) {
                if (empty($value) || is_int($field)) {
                    continue;
                }
                
                $this->rules[$field] .= $value;
            }
        }
    }
private function customValidates()
    {
        if (count($this->customRules) > 0) {
            foreach ($this->customRules as $field => $value) {
                if (empty($value) || is_int($field)) {
                    continue;
                }
                
                $this->rules[$field] .= $value;
            }
        }
    }
Set the validation rules that apply to the request.

@return array