Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion Block/Pixel/ViewProductContent.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ class ViewProductContent extends AbstractPixel
*/
private $viewProductContent;

/**
* @var ProductRepositoryInterface
*/
private $productRepository;

/**
* @var Registry
*/
Expand All @@ -40,6 +45,7 @@ class ViewProductContent extends AbstractPixel
* @param Json $json
* @param Registry $registry
* @param ViewProductContentInterface $viewProductContent
* @param ProductRepositoryInterface $productRepository
* @param array $data
*/
public function __construct(
Expand All @@ -53,7 +59,7 @@ public function __construct(
) {
$this->registry = $registry;
$this->viewProductContent = $viewProductContent;
$this->productRepository = $productRepository;
$this->productRepository = $productRepository;
parent::__construct($context, $config, $json, $data);
}

Expand Down
4 changes: 0 additions & 4 deletions Model/Pixel/Cart/Content.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ public function get(Item $quoteItem): array
];
}

/**
* @param $quoteItem
* @return \Magento\Catalog\Api\Data\ProductInterface
*/
/**
* @param $quoteItem
* @return \Magento\Catalog\Api\Data\ProductInterface
Expand Down