fix: insurance ids are strings

This commit is contained in:
Björn Fromme
2026-03-16 12:02:27 +01:00
parent 4a6b9cd64d
commit ff241f437f
+2 -2
View File
@@ -431,9 +431,9 @@ class BookingEditDraftService
/** /**
* Resolves an insurance ID to an Insurance object. * Resolves an insurance ID to an Insurance object.
*/ */
private function resolveInsurance(?int $insuranceId, Travel $travel): ?object private function resolveInsurance(?string $insuranceId, Travel $travel): ?object
{ {
if (null === $insuranceId) { if (null === $insuranceId || '' === $insuranceId) {
return null; return null;
} }