@@ -43,28 +43,27 @@ class ProductsList extends AbstractProduct implements BlockInterface, IdentityIn
43
43
/**
44
44
* Default value for products count that will be shown
45
45
*/
46
- const DEFAULT_PRODUCTS_COUNT = 10 ;
46
+ public const DEFAULT_PRODUCTS_COUNT = 10 ;
47
47
48
48
/**
49
49
* Name of request parameter for page number value
50
50
*
51
- * @deprecated @see $this->getData('page_var_name')
51
+ * @deprecated
52
+ * @see $this->getData('page_var_name')
52
53
*/
53
- const PAGE_VAR_NAME = 'np ' ;
54
+ public const PAGE_VAR_NAME = 'np ' ;
54
55
55
56
/**
56
57
* Default value for products per page
57
58
*/
58
- const DEFAULT_PRODUCTS_PER_PAGE = 5 ;
59
+ public const DEFAULT_PRODUCTS_PER_PAGE = 5 ;
59
60
60
61
/**
61
62
* Default value whether show pager or not
62
63
*/
63
- const DEFAULT_SHOW_PAGER = false ;
64
+ public const DEFAULT_SHOW_PAGER = false ;
64
65
65
66
/**
66
- * Instance of pager block
67
- *
68
67
* @var Pager
69
68
*/
70
69
protected $ pager ;
@@ -75,15 +74,11 @@ class ProductsList extends AbstractProduct implements BlockInterface, IdentityIn
75
74
protected $ httpContext ;
76
75
77
76
/**
78
- * Catalog product visibility
79
- *
80
77
* @var Visibility
81
78
*/
82
79
protected $ catalogProductVisibility ;
83
80
84
81
/**
85
- * Product collection factory
86
- *
87
82
* @var CollectionFactory
88
83
*/
89
84
protected $ productCollectionFactory ;
@@ -538,7 +533,8 @@ public function getTitle()
538
533
* Get currency of product
539
534
*
540
535
* @return PriceCurrencyInterface
541
- * @deprecated 100.2.0
536
+ * @deprecated
537
+ * @see Constructor injection
542
538
*/
543
539
private function getPriceCurrency ()
544
540
{
0 commit comments