Skip to content

Commit 39af091

Browse files
author
Yaroslav Onischenko
committed
MAGETWO-66304: Add @api Annotation for GroupedProduct Module
1 parent fb50415 commit 39af091

File tree

10 files changed

+15
-3
lines changed

10 files changed

+15
-3
lines changed

app/code/Magento/GroupedProduct/Block/Adminhtml/Product/Composite/Fieldset/Grouped.php

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

1212
/**
1313
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
14+
* @deprecated
1415
*/
1516
class Grouped extends \Magento\GroupedProduct\Block\Product\View\Type\Grouped
1617
{

app/code/Magento/GroupedProduct/Block/Cart/Item/Renderer/Grouped.php

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

1212
/**
1313
* Shopping cart item render block
14+
* @api
1415
*/
1516
class Grouped extends Renderer implements IdentityInterface
1617
{

app/code/Magento/GroupedProduct/Block/Order/Email/Items/Order/Grouped.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
*/
88
namespace Magento\GroupedProduct\Block\Order\Email\Items\Order;
99

10+
/**
11+
* @api
12+
*/
1013
class Grouped extends \Magento\Sales\Block\Order\Email\Items\Order\DefaultOrder
1114
{
1215
/**

app/code/Magento/GroupedProduct/Block/Product/View/Type/Grouped.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
*/
88
namespace Magento\GroupedProduct\Block\Product\View\Type;
99

10+
/**
11+
* @api
12+
*/
1013
class Grouped extends \Magento\Catalog\Block\Product\View\AbstractView
1114
{
1215
/**

app/code/Magento/GroupedProduct/Block/Stockqty/Type/Grouped.php

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

1010
/**
1111
* Product stock qty block for grouped product type
12+
* @api
1213
*/
1314
class Grouped extends \Magento\CatalogInventory\Block\Stockqty\Composite implements IdentityInterface
1415
{

app/code/Magento/GroupedProduct/Model/Product/Type/Grouped.php

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

1212
/**
1313
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
14+
* @api
1415
*/
1516
class Grouped extends \Magento\Catalog\Model\Product\Type\AbstractType
1617
{

app/code/Magento/GroupedProduct/Model/ResourceModel/Indexer/Stock/Grouped.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
*/
1212
namespace Magento\GroupedProduct\Model\ResourceModel\Indexer\Stock;
1313

14-
use Magento\Catalog\Model\Product\Attribute\Source\Status as ProductStatus;
1514
use Magento\CatalogInventory\Model\Indexer\Stock\Action\Full;
1615

1716
/**

app/code/Magento/GroupedProduct/Model/ResourceModel/Product/Indexer/Price/GroupedInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
namespace Magento\GroupedProduct\Model\ResourceModel\Product\Indexer\Price;
77

88
/**
9-
* @author Magento Core Team <[email protected]>
9+
* @api
1010
*/
1111
interface GroupedInterface
1212
{

app/code/Magento/GroupedProduct/Model/ResourceModel/Product/Link.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
use Magento\Framework\EntityManager\MetadataPool;
1111

1212
/**
13-
* Class Link
13+
* @api
1414
*/
1515
class Link extends \Magento\Catalog\Model\ResourceModel\Product\Link
1616
{

app/code/Magento/GroupedProduct/view/adminhtml/web/js/grouped-product.js

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

6+
/**
7+
* @api
8+
*/
69
define([
710
'jquery',
811
'mage/template',

0 commit comments

Comments
 (0)