File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed
Backup/Controller/Adminhtml
Reports/Model/Product/Index Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 5
5
*/
6
6
namespace Magento \Backup \Controller \Adminhtml ;
7
7
8
+ use Magento \Backend \App \Action ;
9
+ use Magento \Framework \App \Action \HttpGetActionInterface ;
10
+
8
11
/**
9
12
* Backup admin controller
10
13
*
11
14
* @author Magento Core Team <core@magentocommerce.com>
12
15
* @api
13
16
* @since 100.0.2
14
17
*/
15
- abstract class Index extends \ Magento \ Backend \ App \ Action
18
+ abstract class Index extends Action implements HttpGetActionInterface
16
19
{
17
20
/**
18
21
* Authorization level of a basic admin session
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ public function beforeSave()
113
113
/**
114
114
* Retrieve visitor id
115
115
*
116
- * if don't exists return current visitor id
116
+ * If don't exists return current visitor id
117
117
*
118
118
* @return int
119
119
*/
@@ -128,7 +128,7 @@ public function getVisitorId()
128
128
/**
129
129
* Retrieve customer id
130
130
*
131
- * if customer don't logged in return null
131
+ * If customer don't logged in return null
132
132
*
133
133
* @return int
134
134
*/
@@ -143,7 +143,7 @@ public function getCustomerId()
143
143
/**
144
144
* Retrieve store id
145
145
*
146
- * default return current store id
146
+ * Default return current store id
147
147
*
148
148
* @return int
149
149
*/
@@ -246,6 +246,7 @@ public function clean()
246
246
247
247
/**
248
248
* Add product ids to current visitor/customer log
249
+ *
249
250
* @param string[] $productIds
250
251
* @return $this
251
252
*/
Original file line number Diff line number Diff line change @@ -36,13 +36,15 @@ public function __construct(
36
36
/**
37
37
* Check if weee total amount should be included
38
38
*
39
+ * Example:
39
40
* array(
40
41
* $index => array(
41
42
* 'amount' => $amount,
42
43
* 'label' => $label,
43
44
* 'font_size'=> $font_size
44
45
* )
45
46
* )
47
+ *
46
48
* @return array
47
49
*/
48
50
public function getTotalsForDisplay ()
You can’t perform that action at this time.
0 commit comments