Skip to content

Commit c2af247

Browse files
Merge pull request #1043 from magento-troll/api
[Troll] MAGETWO-66143: Increase api coverage for catalog, catalogStaging and advancedCatalog modules
2 parents 33261e7 + 6dbf45d commit c2af247

File tree

129 files changed

+346
-3
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

129 files changed

+346
-3
lines changed

app/code/Magento/Catalog/Block/ShortcutButtons.php

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

88
use Magento\Framework\View\Element\Template;
99

10+
/**
11+
* Shortcuts container
12+
*
13+
* Accepts shortcuts on shortcut_buttons_container event and render shortcuts using custom order
14+
*
15+
* @api
16+
*/
1017
class ShortcutButtons extends Template
1118
{
1219
/**#@+

app/code/Magento/Catalog/Block/ShortcutInterface.php

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

8+
/**
9+
* Shortcut block interface
10+
*
11+
* @api
12+
*/
813
interface ShortcutInterface
914
{
1015
/**

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515

1616
/**
1717
* Catalog data helper
18+
*
19+
* @api
20+
*
1821
* @SuppressWarnings(PHPMD.TooManyFields)
1922
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
2023
*/

app/code/Magento/Catalog/Helper/Image.php

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

1010
/**
1111
* Catalog image helper
12+
*
13+
* @api
1214
* @SuppressWarnings(PHPMD.TooManyFields)
1315
*/
1416
class Image extends AbstractHelper

app/code/Magento/Catalog/Helper/Product/Compare.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
/**
1212
* Catalog Product Compare Helper
1313
*
14+
* @api
15+
*
1416
* @SuppressWarnings(PHPMD.LongVariable)
1517
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
1618
*/

app/code/Magento/Catalog/Helper/Product/Composite.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
/**
1818
* Adminhtml catalog product composite helper
1919
*
20+
* @api
21+
*
2022
* @author Magento Core Team <core@magentocommerce.com>
2123
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
2224
*/

app/code/Magento/Catalog/Helper/Product/Configuration/ConfigurationInterface.php

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

99
/**
1010
* Interface for product configuration helpers
11+
*
12+
* @api
1113
*/
1214
interface ConfigurationInterface
1315
{

app/code/Magento/Catalog/Helper/Product/ConfigurationPool.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
*/
66
namespace Magento\Catalog\Helper\Product;
77

8+
/**
9+
* @api
10+
*/
811
class ConfigurationPool
912
{
1013
/**

app/code/Magento/Catalog/Helper/Product/ProductList.php

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

1111
/**
1212
* Class ProductList
13+
*
14+
* @api
1315
*/
1416
class ProductList
1517
{

app/code/Magento/Catalog/Model/Attribute/Backend/Customlayoutupdate.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
use Magento\Eav\Model\Entity\Attribute\Exception;
1010

1111
/**
12-
* Product url key attribute backend
12+
* Layout update attribute backend
13+
*
14+
* @api
1315
*
1416
* @SuppressWarnings(PHPMD.LongVariable)
1517
*/

0 commit comments

Comments
 (0)