fix: convert type to provide expected argument
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user