check(); } /** * Get the validation rules that apply to the request. * * @return array|string> */ public function rules(): array { return [ 'order_id' => 'required|exists:orders,id', 'comment' => 'nullable|string', ]; } }