check(); } /** * Get the validation rules that apply to the request. * * @return array */ public function rules() { return [ 'key_feed' => 'required|numeric', 'key_earth_1' => 'required|numeric', 'key_earth_2' => 'required|numeric', 'key_together_1' => 'required|numeric', 'key_together_2' => 'required|numeric', 'key_together_3' => 'required|numeric', 'key_together_4' => 'required|numeric', 'key_territory' => 'required|numeric', ]; } /** * Get custom attributes for validator errors. * * @return array */ public function attributes(): array { return [ 'key_feed' => trans('validation.custom.key_feed'), 'key_earth_1' => trans('validation.custom.key_earth_1'), 'key_earth_2' => trans('validation.custom.key_earth_2'), 'key_together_1' => trans('validation.custom.key_together_1'), 'key_together_2' => trans('validation.custom.key_together_2'), 'key_together_3' => trans('validation.custom.key_together_3'), 'key_together_4' => trans('validation.custom.key_together_4'), 'key_territory' => trans('validation.custom.key_territory'), ]; } }