public function setValueAttribute(?string $value): void 	{ 		switch ($this->attributes['type']) { 			case QuestionType::StandardRadio: 				$this->attributes['value'] = $value;  				break;  			case QuestionType::CustomRadio: 				$this->attributes['value'] = $this->trimSelectValues($value);  				break;  			case QuestionType::Checkbox: 				$this->attributes['value'] = $this->trimSelectValues($value);  				break;  			case QuestionType::CheckboxLimitedAnswers: 				$this->attributes['value'] = $this->trimSelectValues($value);  				break;  			default: 				$this->attributes['value'] = $value ? preg_replace('/\s+/', ' ', $value) : null; 		} 	}