fix: convert type to provide expected argument
This commit is contained in:
1 parent
6a5bccf372
commit
de5117c200
1 file changed
+1
-1
@@ -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