diff --git a/src/Repository/ProductRepository.php b/src/Repository/ProductRepository.php index fe488f2..a2592ce 100644 --- a/src/Repository/ProductRepository.php +++ b/src/Repository/ProductRepository.php @@ -28,8 +28,6 @@ use PDOStatement; use PrestaShopCollection; use PrestaShopDatabaseException; -use PrestaShopException; -use resource; class ProductRepository extends AbstractEntityRepository { @@ -255,14 +253,12 @@ public function findProductByProductReference($carrierReference) return $this->db->getRow($query) ?: null; } - /** * @param int $carrierReference * @param int $countryId * * @return array|bool|mysqli_result|PDOStatement|resource|null * @throws PrestaShopDatabaseException - * @throws PrestaShopException */ public function checkIfCarrierIsAvailableInCountry(int $carrierReference, int $countryId) {