We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70c5c51 commit b98415cCopy full SHA for b98415c
app/code/Magento/Catalog/CustomerData/CompareProducts.php
@@ -19,6 +19,11 @@ class CompareProducts implements SectionSourceInterface
19
*/
20
protected $productUrl;
21
22
+ /**
23
+ * @var \Magento\Catalog\Helper\Output
24
+ */
25
+ private $outputHelper;
26
+
27
/**
28
* @param \Magento\Catalog\Helper\Product\Compare $helper
29
* @param \Magento\Catalog\Model\Product\Url $productUrl
@@ -54,6 +59,7 @@ public function getSectionData()
54
59
protected function getItems()
55
60
{
56
61
$items = [];
62
+ /** @var \Magento\Catalog\Model\Product $item */
57
63
foreach ($this->helper->getItemCollection() as $item) {
58
64
$items[] = [
65
'id' => $item->getId(),
0 commit comments