Skip to content

Commit 016088a

Browse files
authored
Merge pull request #157 from magento-commerce/api-changes-develop
[Lynx] Add Missing API Declaration
2 parents 08dd0f0 + 0c25107 commit 016088a

22 files changed

+54
-5
lines changed

app/code/Magento/PageBuilder/Api/Data/TemplateInterface.php

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

1111
/**
1212
* Template Manager template interface
13+
*
14+
* @api
1315
*/
1416
interface TemplateInterface extends ExtensibleDataInterface
1517
{

app/code/Magento/PageBuilder/Api/Data/TemplateSearchResultsInterface.php

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

99
use Magento\Framework\Api\SearchResultsInterface;
1010

11+
/**
12+
* @api
13+
*/
1114
interface TemplateSearchResultsInterface extends SearchResultsInterface
1215
{
1316
/**

app/code/Magento/PageBuilder/Api/TemplateRepositoryInterface.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
use Magento\Framework\Exception\LocalizedException;
1313
use Magento\Framework\Exception\NoSuchEntityException;
1414

15+
/**
16+
* @api
17+
*/
1518
interface TemplateRepositoryInterface
1619
{
1720
/**

app/code/Magento/PageBuilder/Block/Adminhtml/System/Config/SwitchAttributeType.php

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,23 @@
88

99
namespace Magento\PageBuilder\Block\Adminhtml\System\Config;
1010

11+
use Magento\Backend\Block\Template\Context;
12+
use Magento\Config\Block\System\Config\Form\Field;
13+
use Magento\Framework\Phrase;
14+
1115
/**
1216
* Class SwitchAttributeType renders modal window to confirm changing attribute type
1317
*
18+
* @api
1419
*/
15-
class SwitchAttributeType extends \Magento\Config\Block\System\Config\Form\Field
20+
class SwitchAttributeType extends Field
1621
{
1722
/**
18-
* @param \Magento\Backend\Block\Template\Context $context
23+
* @param Context $context
1924
* @param array $data
2025
*/
2126
public function __construct(
22-
\Magento\Backend\Block\Template\Context $context,
27+
Context $context,
2328
array $data = []
2429
) {
2530
parent::__construct($context, $data);
@@ -38,9 +43,9 @@ public function getModalSelector() : string
3843
/**
3944
* Get text for the modal title heading when user switches to disable
4045
*
41-
* @return \Magento\Framework\Phrase
46+
* @return Phrase
4247
*/
43-
public function getModalTitleText() : \Magento\Framework\Phrase
48+
public function getModalTitleText() : Phrase
4449
{
4550
return __('Product data may be lost');
4651
}

app/code/Magento/PageBuilder/Model/Catalog/Sorting/OptionInterface.php

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

1111
/**
1212
* Interface OptionInterface
13+
*
14+
* @api
1315
*/
1416
interface OptionInterface
1517
{

app/code/Magento/PageBuilder/Model/Dom/Adapter/AttrInterface.php

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

1010
/**
1111
* Interface for Attr wrappers
12+
*
13+
* @api
1214
*/
1315
interface AttrInterface
1416
{

app/code/Magento/PageBuilder/Model/Dom/Adapter/CharacterDataInterface.php

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

1010
/**
1111
* Interface for CharacterData wrappers
12+
*
13+
* @api
1214
*/
1315
interface CharacterDataInterface
1416
{

app/code/Magento/PageBuilder/Model/Dom/Adapter/CommentInterface.php

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

1010
/**
1111
* Interface for Comment wrappers
12+
*
13+
* @api
1214
*/
1315
interface CommentInterface
1416
{

app/code/Magento/PageBuilder/Model/Dom/Adapter/DocumentFragmentInterface.php

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

1010
/**
1111
* Interface for DocumentFragment wrappers
12+
*
13+
* @api
1214
*/
1315
interface DocumentFragmentInterface
1416
{

app/code/Magento/PageBuilder/Model/Dom/Adapter/DocumentInterface.php

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

1313
/**
1414
* Interface for Document wrappers
15+
*
16+
* @api
1517
*/
1618
interface DocumentInterface
1719
{

app/code/Magento/PageBuilder/Model/Dom/Adapter/DocumentTypeInterface.php

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

1010
/**
1111
* Interface for DocumentType wrappers
12+
*
13+
* @api
1214
*/
1315
interface DocumentTypeInterface
1416
{

app/code/Magento/PageBuilder/Model/Dom/Adapter/ElementInterface.php

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

1212
/**
1313
* Interface for Element wrappers
14+
*
15+
* @api
1416
*/
1517
interface ElementInterface
1618
{

app/code/Magento/PageBuilder/Model/Dom/Adapter/HtmlCollectionInterface.php

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

1010
/**
1111
* Interface for HtmlCollection wrappers
12+
*
13+
* @api
1214
*/
1315
interface HtmlCollectionInterface
1416
{

app/code/Magento/PageBuilder/Model/Dom/Adapter/HtmlDocumentInterface.php

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

1010
/**
1111
* Interface for HtmlDocument wrappers
12+
*
13+
* @api
1214
*/
1315
interface HtmlDocumentInterface
1416
{

app/code/Magento/PageBuilder/Model/Dom/Adapter/NodeInterface.php

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

1010
/**
1111
* Interface for Node wrappers
12+
*
13+
* @api
1214
*/
1315
interface NodeInterface
1416
{

app/code/Magento/PageBuilder/Model/Dom/Adapter/NodeListInterface.php

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

1010
/**
1111
* Interface for NodeList wrappers
12+
*
13+
* @api
1214
*/
1315
interface NodeListInterface
1416
{

app/code/Magento/PageBuilder/Model/Dom/Adapter/PropertyAttributeInterface.php

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

1010
/**
1111
* Interface for PropertyAttribute wrappers
12+
*
13+
* @api
1214
*/
1315
interface PropertyAttributeInterface
1416
{

app/code/Magento/PageBuilder/Model/Dom/Adapter/StringMapInterface.php

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

1010
/**
1111
* Interface for StringMap wrappers
12+
*
13+
* @api
1214
*/
1315
interface StringMapInterface
1416
{

app/code/Magento/PageBuilder/Model/Dom/Adapter/TextInterface.php

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

1010
/**
1111
* Interface for Text wrappers
12+
*
13+
* @api
1214
*/
1315
interface TextInterface
1416
{

app/code/Magento/PageBuilder/Model/Dom/Adapter/TokenListInterface.php

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

1010
/**
1111
* Interface for TokenList wrappers
12+
*
13+
* @api
1214
*/
1315
interface TokenListInterface
1416
{

app/code/Magento/PageBuilder/Model/Dom/Adapter/XmlDocumentInterface.php

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

1010
/**
1111
* Interface for XmlDocument wrappers
12+
*
13+
* @api
1214
*/
1315
interface XmlDocumentInterface
1416
{

app/code/Magento/PageBuilder/Model/Stage/RendererInterface.php

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

1111
/**
1212
* Provides an interface for individual content type renderers for the stage
13+
*
14+
* @api
1315
*/
1416
interface RendererInterface
1517
{

0 commit comments

Comments
 (0)