Skip to content

Commit 8546c71

Browse files
committed
Remove ignores again
1 parent e39efc3 commit 8546c71

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

DataLayer/Mapper/ProductDataMapper.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,7 @@ public function mapByProduct(ProductInterface $product): array
8383
}
8484

8585
$productData['price'] = $this->priceFormatter->format((float) $product->getPriceInfo()->getPrice(FinalPrice::PRICE_CODE)->getValue());
86-
// @phpstan-ignore-next-line
8786
if ($product->getCustomOption('simple_product') && $product->getCustomOption('simple_product')->getProduct()) {
88-
// @phpstan-ignore-next-line
8987
$simpleProduct = $product->getCustomOption('simple_product')->getProduct();
9088
$productData['price'] = $this->priceFormatter->format((float) $simpleProduct->getPriceInfo()->getPrice(FinalPrice::PRICE_CODE)->getValue());
9189
}

0 commit comments

Comments
 (0)