public function handleExtraAndDemographicQuestions(Request $request, ClientSurvey $survey): void 	{ 		$survey->extraQuestions()->delete();  		foreach ($request->extra_questions ?? [] as $extra_question) { 			$survey->extraQuestions()->create([ 				'code' => $extra_question['code'] ?? null, 				'class' => QuestionClass::Additional->value, 				'title' => [ 					'en' => $extra_question['title_en'] ?? null, 					'hr' => $extra_question['title_hr'] ?? null, 					'bs' => $extra_question['title_bs'] ?? null, 					'mk' => $extra_question['title_mk'] ?? null, 					'sl' => $extra_question['title_sl'] ?? null, 					'sr' => $extra_question['title_sr'] ?? null, 					'fr' => $extra_question['title_fr'] ?? null, 					'de' => $extra_question['title_de'] ?? null, 				], 				'description' => [ 					'en' => $extra_question['description_en'] ?? null, 					'hr' => $extra_question['description_hr'] ?? null, 					'bs' => $extra_question['description_bs'] ?? null, 					'mk' => $extra_question['description_mk'] ?? null, 					'sl' => $extra_question['description_sl'] ?? null, 					'sr' => $extra_question['description_sr'] ?? null, 					'fr' => $extra_question['description_fr'] ?? null, 					'de' => $extra_question['description_de'] ?? null, 				], 				'available_answers' => [ 					'en' => $extra_question['available_answers']['available_answers_en'] ?? null, 					'hr' => $extra_question['available_answers']['available_answers_hr'] ?? null, 					'bs' => $extra_question['available_answers']['available_answers_bs'] ?? null, 					'mk' => $extra_question['available_answers']['available_answers_mk'] ?? null, 					'sl' => $extra_question['available_answers']['available_answers_sl'] ?? null, 					'sr' => $extra_question['available_answers']['available_answers_sr'] ?? null, 					'fr' => $extra_question['available_answers']['available_answers_fr'] ?? null, 					'de' => $extra_question['available_answers']['available_answers_de'] ?? null, 				], 				'allowed_comments' => $extra_question['allowed_comments'], // Bool 				'ordering' => $extra_question['ordering'], 				'required' => $extra_question['required'], // Bool 				'type' => $extra_question['type'],	// QuestionType enum 			]); 		}  		$survey->clientSurveyDemographicQuestions()->delete();  		foreach ($request->demographic_questions ?? [] as $question_id) { 			$survey->clientSurveyDemographicQuestions()->create([ 				'question_id' => $question_id, 			]); 		} 	}