Skip to content

Commit fb50415

Browse files
author
Yaroslav Onischenko
committed
MAGETWO-66657: Add @api Annotation for Downloadable Module
1 parent 4a55a71 commit fb50415

File tree

30 files changed

+38
-17
lines changed

30 files changed

+38
-17
lines changed

app/code/Magento/Downloadable/Block/Catalog/Product/Links.php

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

1313
/**
1414
* Downloadable Product Links part block
15+
* @api
1516
*/
1617
class Links extends \Magento\Catalog\Block\Product\AbstractProduct
1718
{

app/code/Magento/Downloadable/Block/Catalog/Product/Samples.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
/**
1414
* Downloadable Product Samples part block
1515
*
16-
* @author Magento Core Team <[email protected]>
16+
* @api
1717
*/
1818
class Samples extends \Magento\Catalog\Block\Product\AbstractProduct
1919
{

app/code/Magento/Downloadable/Block/Catalog/Product/View/Type.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
*/
1212
namespace Magento\Downloadable\Block\Catalog\Product\View;
1313

14+
/**
15+
* @api
16+
*/
1417
class Type extends \Magento\Catalog\Block\Product\View\Type\Virtual
1518
{
1619
}

app/code/Magento/Downloadable/Block/Checkout/Cart/Item/Renderer.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
use Magento\Framework\Pricing\PriceCurrencyInterface;
1515
use Magento\Framework\View\Element\Message\InterpretationStrategyInterface;
1616

17+
/**
18+
* @api
19+
*/
1720
class Renderer extends \Magento\Checkout\Block\Cart\Item\Renderer
1821
{
1922
/**

app/code/Magento/Downloadable/Block/Checkout/Success.php

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

1414
use Magento\Framework\View\Element\Template;
1515

16+
/**
17+
* @api
18+
*/
1619
class Success extends \Magento\Checkout\Block\Onepage\Success
1720
{
1821
/**

app/code/Magento/Downloadable/Block/Customer/Products/ListProducts.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
/**
1414
* Block to display downloadable links bought by customer
1515
*
16-
* @author Magento Core Team <[email protected]>
16+
* @api
1717
*/
1818
class ListProducts extends \Magento\Framework\View\Element\Template
1919
{

app/code/Magento/Downloadable/Block/Sales/Order/Email/Items/Downloadable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
/**
1717
* Downlaodable Sales Order Email items renderer
1818
*
19-
* @author Magento Core Team <[email protected]>
19+
* @api
2020
*/
2121
class Downloadable extends \Magento\Sales\Block\Order\Email\Items\DefaultItems
2222
{

app/code/Magento/Downloadable/Block/Sales/Order/Email/Items/Order/Downloadable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
/**
1717
* Downloadable Sales Order Email items renderer
1818
*
19-
* @author Magento Core Team <[email protected]>
19+
* @api
2020
*/
2121
class Downloadable extends \Magento\Sales\Block\Order\Email\Items\Order\DefaultOrder
2222
{

app/code/Magento/Downloadable/Block/Sales/Order/Item/Renderer/Downloadable.php

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

1515
/**
1616
* Downloadable order item render block
17+
* @api
1718
*/
1819
class Downloadable extends \Magento\Sales\Block\Order\Item\Renderer\DefaultRenderer
1920
{

app/code/Magento/Downloadable/Helper/File.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
/**
1111
* Downloadable Products File Helper
1212
*
13-
* @author Magento Core Team <[email protected]>
13+
* @api
1414
*/
1515
class File extends \Magento\Framework\App\Helper\AbstractHelper
1616
{

0 commit comments

Comments
 (0)