fix: convert type to provide expected argument

This commit is contained in:
Björn Fromme
2024-07-01 17:55:51 +02:00
parent 6a5bccf372
commit de5117c200
+1 -1
View File
@@ -68,7 +68,7 @@ class DestinationType extends AbstractType
$hotelLabel = null;
if (null !== $hotelBusProId) {
$hotel = $this->hotelDataProvider->get($hotelBusProId);
$hotel = $this->hotelDataProvider->get((int) $hotelBusProId);
$hotelLabel = sprintf('%s (%s)', $hotel->getName(), $hotel->getCode());
}