Skip to content

Commit af2680f

Browse files
yogeshksdimonovp
authored andcommitted
Marked unnecessary member variables as @deprecated
Restored protected properties of Image class and marked them as `@deprecated`.
1 parent f18af11 commit af2680f

File tree

1 file changed

+13
-0
lines changed
  • app/code/Magento/Catalog/Block/Product

1 file changed

+13
-0
lines changed

app/code/Magento/Catalog/Block/Product/Image.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,19 @@
1919
*/
2020
class Image extends \Magento\Framework\View\Element\Template
2121
{
22+
/**
23+
* @deprecated since version 2.2-develop
24+
*/
25+
protected $imageHelper;
26+
/**
27+
* @deprecated since version 2.2-develop
28+
*/
29+
protected $product;
30+
/**
31+
* @deprecated since version 2.2-develop
32+
*/
33+
protected $attributes = [];
34+
2235
/**
2336
* @param \Magento\Framework\View\Element\Template\Context $context
2437
* @param array $data

0 commit comments

Comments
 (0)