fix: insurance ids are strings
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user