public function forQuestion(Question $question): self 	{ 		$answer = $custom_checkbox_answer = null;  		switch ($question->type) { 			case QuestionType::Text->value: 			case QuestionType::Textarea->value: 				$answer = $this->faker->word();  				break;  			case QuestionType::CheckboxWithCustomAnswer->value: 				$custom_checkbox_answer = $this->faker->word(); 				$max_answers = count($question->getDefaultTranslation('available_answers'));  				$answer_arr = [];  				for ($i = 0; $i < rand(1, $max_answers); $i++) { 					$answer_arr[] = rand(1, $max_answers); 				}  				$answer = implode(',', array_unique($answer_arr));  				break;  			case QuestionType::Checkbox->value: 			case QuestionType::CheckboxWithAnswerPositivity->value: 				$max_answers = count($question->getDefaultTranslation('available_answers'));  				$answer_arr = [];  				for ($i = 0; $i < rand(1, $max_answers); $i++) { 					$answer_arr[] = rand(1, $max_answers); 				}  				$answer = implode(',', array_unique($answer_arr));  				break;  			case QuestionType::CheckboxLimitedAnswers->value: 				$max_answers = $question->checkbox_max_answers_limit;  				$answer_arr = [];  				for ($i = 0; $i < rand(1, $max_answers); $i++) { 					$answer_arr[] = rand(1, $max_answers); 				}  				$answer = implode(',', array_unique($answer_arr));  				break;  			case QuestionType::CheckboxWithAnswerPositivity->value:  				break;  			case QuestionType::StandardRadio->value: 				$answer = $this->faker->numberBetween(1, 4);  				break;  			case QuestionType::PpiStandardRadio->value: 				$answer = $this->faker->numberBetween(1, 5);  				break;  			case QuestionType::CustomRadio->value: 				$max_answers = count($question->getDefaultTranslation('available_answers'));  				$answer = $this->faker->numberBetween(1, $max_answers);  				break;  			case QuestionType::Email->value: 				$answer = $this->faker->email();  				break; 		}  		return $this->state([ 			'custom_checkbox_answer' => $custom_checkbox_answer, 			'question_id' => $question->getKey(), 			'answer_value' => $answer, 		]); 	}