From 48439b3a1ce2dae36c191299a9282711e79ce463 Mon Sep 17 00:00:00 2001 From: Gytautas Date: Thu, 18 Apr 2024 13:19:57 +0300 Subject: [PATCH] compatibility fix --- src/Repository/ProductRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Repository/ProductRepository.php b/src/Repository/ProductRepository.php index 35954d1..e09e6ca 100644 --- a/src/Repository/ProductRepository.php +++ b/src/Repository/ProductRepository.php @@ -260,7 +260,7 @@ public function findProductByProductReference($carrierReference) * @return array|bool|mysqli_result|PDOStatement|resource|null * @throws PrestaShopDatabaseException */ - public function checkIfCarrierIsAvailableInCountry(int $carrierReference, int $countryId) + public function checkIfCarrierIsAvailableInCountry($carrierReference, $countryId) { $productId = $this->getProductIdByCarrierReference($carrierReference); $product = new DPDProduct($productId);