Skip to content

Commit 842324a

Browse files
author
Stanislav Idolov
committed
magento-engcom/magento2ce#2324: Fixed Code Style Issues
1 parent 5f2ad89 commit 842324a

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

app/code/Magento/Backup/Controller/Adminhtml/Index.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,17 @@
55
*/
66
namespace Magento\Backup\Controller\Adminhtml;
77

8+
use Magento\Backend\App\Action;
9+
use Magento\Framework\App\Action\HttpGetActionInterface;
10+
811
/**
912
* Backup admin controller
1013
*
1114
* @author Magento Core Team <core@magentocommerce.com>
1215
* @api
1316
* @since 100.0.2
1417
*/
15-
abstract class Index extends \Magento\Backend\App\Action
18+
abstract class Index extends Action implements HttpGetActionInterface
1619
{
1720
/**
1821
* Authorization level of a basic admin session

app/code/Magento/Reports/Model/Product/Index/AbstractIndex.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public function beforeSave()
113113
/**
114114
* Retrieve visitor id
115115
*
116-
* if don't exists return current visitor id
116+
* If don't exists return current visitor id
117117
*
118118
* @return int
119119
*/
@@ -128,7 +128,7 @@ public function getVisitorId()
128128
/**
129129
* Retrieve customer id
130130
*
131-
* if customer don't logged in return null
131+
* If customer don't logged in return null
132132
*
133133
* @return int
134134
*/
@@ -143,7 +143,7 @@ public function getCustomerId()
143143
/**
144144
* Retrieve store id
145145
*
146-
* default return current store id
146+
* Default return current store id
147147
*
148148
* @return int
149149
*/
@@ -246,6 +246,7 @@ public function clean()
246246

247247
/**
248248
* Add product ids to current visitor/customer log
249+
*
249250
* @param string[] $productIds
250251
* @return $this
251252
*/

app/code/Magento/Weee/Model/Sales/Pdf/Weee.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,15 @@ public function __construct(
3636
/**
3737
* Check if weee total amount should be included
3838
*
39+
* Example:
3940
* array(
4041
* $index => array(
4142
* 'amount' => $amount,
4243
* 'label' => $label,
4344
* 'font_size'=> $font_size
4445
* )
4546
* )
47+
*
4648
* @return array
4749
*/
4850
public function getTotalsForDisplay()

0 commit comments

Comments
 (0)