From f9d11e3d5ce8f63ed9a6fd09d85f0c7b2dc8db6b Mon Sep 17 00:00:00 2001 From: Gytautas <gytautas.zumaras@invertus.eu> Date: Thu, 11 Jan 2024 14:06:31 +0200 Subject: [PATCH] not needed use statement removed --- src/Repository/ProductRepository.php | 4 ---- 1 file changed, 4 deletions(-) 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) {