public function scopeByType(Builder $query, ?SurveyType $survey_type = null): Builder 	{ 		return $query->when($survey_type, function ($query) use ($survey_type) { 			$query->orWhere('type', $survey_type->value); 		}); 	}