public function determineCountryValue(string $country, ?Collection $vatRates = null, array|null $oldCountries): float|int 	{ 		if (is_array($oldCountries)) { 			return $oldCountries[$country]; 		}  		return $this->exists ? ($vatRates->firstWhere('country_code', $country)?->amount ?? 0) : 0; 	}