Skip to content

Commit 24cb4fe

Browse files
committed
ACP2E-2689: No Appropriate error message when website id is wrong in the request
- Fixed the CR comments.
1 parent c0e2500 commit 24cb4fe

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

app/code/Magento/Catalog/Model/Product/Price/Validation/TierPriceValidator.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,6 @@ private function checkWebsite(TierPriceInterface $price, $key, Result $validatio
383383
count($this->productsCacheBySku[$price->getSku()]->getTierPrices()) > 0 &&
384384
(int) $this->allWebsitesValue !== $price->getWebsiteId()
385385
) {
386-
// phpstan:ignore
387386
throw NoSuchEntityException::singleField('website_id', $price->getWebsiteId());
388387
}
389388
} catch (\Magento\Framework\Exception\NoSuchEntityException $e) {

0 commit comments

Comments
 (0)