public function handleUpdateOrCreateAnswers(array $request, Applicant $applicant, ClientSurvey $client_survey): void 	{ 		$clientSurveyPpiService = new ClientSurveyPpiService;  		foreach ($request['answer_values'] ?? [] as $question_id => $answer_value) { 			$answer_is_array = is_array($answer_value);  			$custom_answer = null;  			if ($answer_is_array) { 				$custom_answer = $clientSurveyPpiService->handleCustomAnswerCheckboxValue($answer_value); 			}  			Answer::updateOrCreate([ 				'question_id' => $question_id, 				'applicant_id' => $applicant->getKey(), 				'client_survey_id' => $client_survey->getKey(), 			], [ 				'answer_value' => is_array($answer_value) ? implode(',', $answer_value) : $answer_value, 				'custom_checkbox_answer' => $custom_answer, 			]); 		} 	}