Skip to content

Commit d70f544

Browse files
committed
MAGETWO-69846: Improve @api annotation coverage and comments
1 parent 7a77873 commit d70f544

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Button.php

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

88
/**
99
* @api
10+
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
1011
*/
1112
class Button extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer
1213
{

app/code/Magento/Backend/Block/Widget/Grid/Massaction/Additional.php

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

88
/**
99
* @api
10+
* @SuppressWarnings(PHPMD.DepthOfInheritance)
1011
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
1112
* @deprecated in favour of UI component implementation
1213
*/

app/code/Magento/Eav/Block/Adminhtml/Attribute/Grid/AbstractGrid.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* Product attributes grid
1010
*
1111
* @api
12+
* @SuppressWarnings(PHPMD.DepthOfInheritance)
1213
* @deprecated
1314
*/
1415
abstract class AbstractGrid extends \Magento\Backend\Block\Widget\Grid\Extended

app/code/Magento/Quote/Model/Quote/Address/Total/AbstractTotal.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
*
1111
* @api
1212
* @SuppressWarnings(PHPMD.NumberOfChildren)
13+
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
1314
*/
1415
abstract class AbstractTotal implements CollectorInterface, ReaderInterface
1516
{

0 commit comments

Comments
 (0)