diff --git a/src/QUI/ERP/Discount/Discount.php b/src/QUI/ERP/Discount/Discount.php index c066ae61035ecf0a847f77542c1f284ba6c753e6..473baf7ac594a3d6ed52a40a12d3a31a1d88ba8d 100644 --- a/src/QUI/ERP/Discount/Discount.php +++ b/src/QUI/ERP/Discount/Discount.php @@ -10,7 +10,6 @@ use QUI\Users\User; use QUI\Permissions\Permission; use QUI\Utils\Security\Orthos; -use QUI\ERP\Products\Utils\Calc; use QUI\ERP\Areas\Utils as AreaUtils; @@ -394,6 +393,7 @@ public function canUsedWith(QUI\ERP\Products\Interfaces\ProductInterface $Produc $productCategories = $Product->getCategories(); foreach ($productCategories as $Category) { + /* @var $Category QUI\ERP\Products\Category\Category */ if ((int)$Category->getId() === (int)$category) { return true; }