Fixed: Function naming, idLang not optional, Wrong class for features query, and added Return type declarations

Co-authored-by: Name <sumit201@webkul.in>
This commit is contained in:
varun kewlani
2026-05-09 18:15:53 +05:30
parent 26b32d7bfd
commit afceee1968
12 changed files with 156 additions and 225 deletions

View File

@@ -409,9 +409,9 @@ class ProductControllerCore extends FrontController
}
}
$roomFeatures = HotelRoomType::getFrontFeatures($this->product->id, $this->context->language->id);
$roomAmenities = HotelRoomTypeAmenities::getFrontAmenities($this->product->id, $this->context->language->id);
$hotelAmenities = HotelBranchAmenities::getFrontAmenities($hotel_id, $this->context->language->id);
$roomFeatures = $this->product->getFrontFeatures($this->context->language->id);
$roomAmenities = HotelRoomTypeAmenities::getAmenities($this->product->id, $this->context->language->id);
$hotelAmenities = HotelBranchAmenities::getAmenities($hotel_id, $this->context->language->id);
$this->context->smarty->assign(
array(