|string> */ public function rules(): array { return [ 'userId' => 'required|string', 'language' => 'required|string', 'message' => 'required|string', ]; } protected function passedValidation() { $this->userId = $this->input('userId'); $this->language = $this->input('language'); $this->message = $this->input('message'); } }