File tree Expand file tree Collapse file tree 8 files changed +12
-24
lines changed
ResourceModel/Stock/Customer
ProductVideo/Block/Product/View
Quote/Model/ResourceModel/Quote Expand file tree Collapse file tree 8 files changed +12
-24
lines changed Original file line number Diff line number Diff line change 14
14
class Remember extends \Magento \Framework \View \Element \Template
15
15
{
16
16
/**
17
- * Persistent data
18
- *
19
17
* @var \Magento\Persistent\Helper\Data
20
18
*/
21
19
protected $ _persistentData = null ;
Original file line number Diff line number Diff line change @@ -25,8 +25,6 @@ class Additional extends \Magento\Framework\View\Element\Html\Link
25
25
protected $ _persistentSessionHelper ;
26
26
27
27
/**
28
- * Customer repository
29
- *
30
28
* @var \Magento\Customer\Api\CustomerRepositoryInterface
31
29
*/
32
30
protected $ customerRepository ;
Original file line number Diff line number Diff line change @@ -23,8 +23,6 @@ class Data extends \Magento\Framework\Url\Helper\Data
23
23
protected $ _product = null ;
24
24
25
25
/**
26
- * Core registry
27
- *
28
26
* @var \Magento\Framework\Registry
29
27
*/
30
28
protected $ _coreRegistry = null ;
@@ -83,6 +81,8 @@ public function setProduct($product)
83
81
}
84
82
85
83
/**
84
+ * Get store
85
+ *
86
86
* @return Store
87
87
*/
88
88
public function getStore ()
@@ -91,6 +91,8 @@ public function getStore()
91
91
}
92
92
93
93
/**
94
+ * Get Save Url
95
+ *
94
96
* @param string $type
95
97
* @return string
96
98
*/
Original file line number Diff line number Diff line change 44
44
*/
45
45
class Email extends AbstractModel
46
46
{
47
- const XML_PATH_EMAIL_PRICE_TEMPLATE = 'catalog/productalert/email_price_template ' ;
47
+ public const XML_PATH_EMAIL_PRICE_TEMPLATE = 'catalog/productalert/email_price_template ' ;
48
48
49
- const XML_PATH_EMAIL_STOCK_TEMPLATE = 'catalog/productalert/email_stock_template ' ;
49
+ public const XML_PATH_EMAIL_STOCK_TEMPLATE = 'catalog/productalert/email_stock_template ' ;
50
50
51
- const XML_PATH_EMAIL_IDENTITY = 'catalog/productalert/email_identity ' ;
51
+ public const XML_PATH_EMAIL_IDENTITY = 'catalog/productalert/email_identity ' ;
52
52
53
53
/**
54
- * Type
55
- *
56
54
* @var string
57
55
*/
58
56
protected $ _type = 'price ' ;
@@ -86,22 +84,16 @@ class Email extends AbstractModel
86
84
protected $ _stockProducts = [];
87
85
88
86
/**
89
- * Price block
90
- *
91
87
* @var Price
92
88
*/
93
89
protected $ _priceBlock ;
94
90
95
91
/**
96
- * Stock block
97
- *
98
92
* @var Stock
99
93
*/
100
94
protected $ _stockBlock ;
101
95
102
96
/**
103
- * Product alert data
104
- *
105
97
* @var Data
106
98
*/
107
99
protected $ _productAlertData = null ;
Original file line number Diff line number Diff line change 11
11
class Collection extends \Magento \Customer \Model \ResourceModel \Customer \Collection
12
12
{
13
13
/**
14
- * join productalert stock data to customer collection
14
+ * Join productalert stock data to customer collection
15
15
*
16
16
* @param int $productId
17
17
* @param int $websiteId
Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ public function getVideoSettingsJson()
85
85
86
86
/**
87
87
* Return media gallery for product options
88
+ *
88
89
* @return string
89
90
* @since 100.1.0
90
91
*/
Original file line number Diff line number Diff line change 11
11
class Collection extends \Magento \Framework \Model \ResourceModel \Db \VersionControl \Collection
12
12
{
13
13
/**
14
- * Event prefix
15
- *
16
14
* @var string
17
15
*/
18
16
protected $ _eventPrefix = 'sales_quote_address_collection ' ;
@@ -38,8 +36,7 @@ protected function _construct()
38
36
}
39
37
40
38
/**
41
- * Setting filter on quote_id field but if quote_id is 0
42
- * we should exclude loading junk data from DB
39
+ * Setting filter on quote_id field but if quote_id is 0 we should exclude loading junk data from DB
43
40
*
44
41
* @param int $quoteId
45
42
* @return $this
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ protected function _construct()
25
25
}
26
26
27
27
/**
28
- * { @inheritdoc}
28
+ * @inheritdoc
29
29
*/
30
30
public function save (AbstractModel $ object )
31
31
{
@@ -61,7 +61,7 @@ private function hasOptionsChanged(AbstractModel $object): bool
61
61
}
62
62
63
63
/**
64
- * { @inheritdoc}
64
+ * @inheritdoc
65
65
*/
66
66
protected function prepareDataForUpdate ($ object )
67
67
{
You can’t perform that action at this time.
0 commit comments