Skip to content

Commit 258d44e

Browse files
author
Alex Paliarush
committed
MAGETWO-65444: Add @api annotation to Weee module
1 parent 8735b42 commit 258d44e

File tree

10 files changed

+32
-2
lines changed

10 files changed

+32
-2
lines changed

app/code/Magento/Weee/Helper/Data.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212

1313
/**
1414
* WEEE data helper
15+
*
1516
* @SuppressWarnings(PHPMD.ExcessiveClassComplexity)
17+
* @api
1618
*/
1719
class Data extends \Magento\Framework\App\Helper\AbstractHelper
1820
{

app/code/Magento/Weee/Model/Config.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
/**
1111
* WEEE config model
12+
*
13+
* @api
1214
*/
1315
class Config
1416
{

app/code/Magento/Weee/Model/ResourceModel/Tax.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
/**
1212
* Wee tax resource model
13+
*
14+
* @api
1315
*/
1416
class Tax extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb
1517
{

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
*/
66
namespace Magento\Weee\Model\Sales\Pdf;
77

8+
/**
9+
* Sales order total for PDF, taking into account WEEE tax
10+
*
11+
* @api
12+
*/
813
class Weee extends \Magento\Sales\Model\Order\Pdf\Total\DefaultTotal
914
{
1015
/**
@@ -32,6 +37,7 @@ public function __construct(
3237

3338
/**
3439
* Check if weee total amount should be included
40+
*
3541
* array(
3642
* $index => array(
3743
* 'amount' => $amount,

app/code/Magento/Weee/Model/Tax.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
/**
1515
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
16+
* @api
1617
*/
1718
class Tax extends \Magento\Framework\Model\AbstractModel
1819
{

app/code/Magento/Weee/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,6 @@ Magento installation with existing products with FPT:
2121
* Remove all FPT attributes from attribute sets
2222
* Delete all FPT attributes
2323
* Remove module directory from the code base
24-
* New Magento installation:
25-
* Can be removed without additional actions
24+
25+
New Magento installation:
26+
* Can be removed without additional actions

app/code/Magento/Weee/view/frontend/web/js/view/checkout/summary/item/price/row_excl_tax.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
* See COPYING.txt for license details.
44
*/
55

6+
/**
7+
* @api
8+
*/
9+
610
define([
711
'Magento_Weee/js/view/checkout/summary/item/price/weee'
812
], function (weee) {

app/code/Magento/Weee/view/frontend/web/js/view/checkout/summary/item/price/row_incl_tax.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
* See COPYING.txt for license details.
44
*/
55

6+
/**
7+
* @api
8+
*/
9+
610
define([
711
'Magento_Weee/js/view/checkout/summary/item/price/weee'
812
], function (weee) {

app/code/Magento/Weee/view/frontend/web/js/view/checkout/summary/item/price/weee.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
* See COPYING.txt for license details.
44
*/
55

6+
/**
7+
* @api
8+
*/
9+
610
define([
711
'Magento_Checkout/js/view/summary/abstract-total',
812
'Magento_Checkout/js/model/quote'

app/code/Magento/Weee/view/frontend/web/js/view/checkout/summary/weee.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
* See COPYING.txt for license details.
44
*/
55

6+
/**
7+
* @api
8+
*/
9+
610
define([
711
'Magento_Checkout/js/view/summary/abstract-total',
812
'Magento_Checkout/js/model/quote',

0 commit comments

Comments
 (0)