From d603e57c628fdd83239fd19fb604af23c13c43a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Wed, 7 Jan 2026 19:50:41 +0100 Subject: [PATCH] fix: insurance ids are strings --- src/Service/BookingEditDraftService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Service/BookingEditDraftService.php b/src/Service/BookingEditDraftService.php index 3e6889a..d5f5780 100644 --- a/src/Service/BookingEditDraftService.php +++ b/src/Service/BookingEditDraftService.php @@ -431,9 +431,9 @@ class BookingEditDraftService /** * 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; }