app/Http/Requests/Api/AdviceCommentRequest.php
/**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
Get the validation rules that apply to the request.
@return array
Get the validation rules that apply to the request . @return array
public function rules()
    {
        return [
            'advice_id'        => 'required|integer',
            'service_score'    => 'required|integer',
            'profession_score' => 'required|integer',
            'is_solve'         => 'required|integer',
        ];
    }
public function rules ( ) { return [ 'advice_id' => 'required|integer' , 'service_score' => 'required|integer' , 'profession_score' => 'required|integer' , 'is_solve' => 'required|integer' , ] ; }
Get the validation rules that apply to the request.
Get the validation rules that apply to the request .