Skip to content

Commit 04e674b

Browse files
Merge pull request #6786 from magento-commerce/imported-magento-commerce-magento2ce-6785
[EngCom] Api changes delivery
2 parents 9a68d68 + e19766a commit 04e674b

File tree

273 files changed

+678
-79
lines changed

Some content is hidden

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

273 files changed

+678
-79
lines changed

app/code/Magento/Catalog/Block/Product/AwareInterface.php

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

88
/**
99
* Class Product Aware interface
10+
*
11+
* @api
1012
*/
1113
interface AwareInterface
1214
{

app/code/Magento/Catalog/Block/Product/ImageFactory.php

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

1919
/**
2020
* Create imageBlock from product and view.xml
21+
*
22+
* @api
2123
*/
2224
class ImageFactory
2325
{

app/code/Magento/Catalog/Block/Product/ReviewRendererInterface.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
/**
1010
* Interface \Magento\Catalog\Block\Product\ReviewRendererInterface
1111
*
12+
* @api
1213
*/
1314
interface ReviewRendererInterface
1415
{

app/code/Magento/Catalog/Controller/Adminhtml/Product/Initialization/Helper/HandlerInterface.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
/**
99
* Interface \Magento\Catalog\Controller\Adminhtml\Product\Initialization\Helper\HandlerInterface
1010
*
11+
* @api
1112
*/
1213
interface HandlerInterface
1314
{

app/code/Magento/Catalog/Controller/Product/View/ViewInterface.php

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

77
/**
88
* Marker interface for controllers on product view page
9+
*
10+
* @api
911
*/
1012
namespace Magento\Catalog\Controller\Product\View;
1113

app/code/Magento/Catalog/Model/Attribute/LockValidatorInterface.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
/**
1111
* Interface \Magento\Catalog\Model\Attribute\LockValidatorInterface
1212
*
13+
* @api
1314
*/
1415
interface LockValidatorInterface
1516
{

app/code/Magento/Catalog/Model/Config.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
/**
1212
* Catalog config model.
1313
*
14+
* @api
1415
* @SuppressWarnings(PHPMD.LongVariable)
1516
* @SuppressWarnings(PHPMD.TooManyFields)
1617
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)

app/code/Magento/Catalog/Model/Config/Source/ProductPriceOptionsInterface.php

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

1010
/**
1111
* Interface ProductPriceOptionsInterface
12+
*
13+
* @api
1214
*/
1315
interface ProductPriceOptionsInterface extends OptionSourceInterface
1416
{

app/code/Magento/Catalog/Model/Entity/Product/Attribute/Group/AttributeMapperInterface.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
/**
1313
* Interface \Magento\Catalog\Model\Entity\Product\Attribute\Group\AttributeMapperInterface
1414
*
15+
* @api
1516
*/
1617
interface AttributeMapperInterface
1718
{

app/code/Magento/Catalog/Model/Indexer/Product/Flat/TableDataInterface.php

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

88
/**
99
* Interface TableDataInterface
10+
*
11+
* @api
1012
*/
1113
interface TableDataInterface
1214
{

app/code/Magento/Catalog/Model/Layer/CollectionFilterInterface.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
/**
1010
* Interface \Magento\Catalog\Model\Layer\CollectionFilterInterface
1111
*
12+
* @api
1213
*/
1314
interface CollectionFilterInterface
1415
{

app/code/Magento/Catalog/Model/Layer/Filter/Item.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
declare(strict_types=1);
7+
8+
namespace Magento\Catalog\Model\Layer\Filter;
69

710
/**
811
* Filter item model
912
*
10-
* @author Magento Core Team <[email protected]>
13+
* @api
1114
*/
12-
namespace Magento\Catalog\Model\Layer\Filter;
13-
1415
class Item extends \Magento\Framework\DataObject
1516
{
1617
/**

app/code/Magento/Catalog/Model/Layer/FilterableAttributeListInterface.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
/**
1010
* Interface \Magento\Catalog\Model\Layer\FilterableAttributeListInterface
1111
*
12+
* @api
1213
*/
1314
interface FilterableAttributeListInterface
1415
{

app/code/Magento/Catalog/Model/Layer/ItemCollectionProviderInterface.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
/**
1111
* Interface \Magento\Catalog\Model\Layer\ItemCollectionProviderInterface
1212
*
13+
* @api
1314
*/
1415
interface ItemCollectionProviderInterface
1516
{

app/code/Magento/Catalog/Model/Layer/StateKeyInterface.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
/**
1010
* Interface \Magento\Catalog\Model\Layer\StateKeyInterface
1111
*
12+
* @api
1213
*/
1314
interface StateKeyInterface
1415
{

app/code/Magento/Catalog/Model/Product/Condition/ConditionInterface.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
/**
1313
* Interface \Magento\Catalog\Model\Product\Condition\ConditionInterface
1414
*
15+
* @api
1516
*/
1617
interface ConditionInterface
1718
{

app/code/Magento/Catalog/Model/Product/Configuration/Item/Option/OptionInterface.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
/**
88
* Interface of product configurational item option
99
*
10+
* @api
1011
* @author Magento Core Team <[email protected]>
1112
*/
1213
namespace Magento\Catalog\Model\Product\Configuration\Item\Option;

app/code/Magento/Catalog/Model/Product/Media/ConfigInterface.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
/**
1313
* Interface \Magento\Catalog\Model\Product\Media\ConfigInterface
1414
*
15+
* @api
1516
*/
1617
interface ConfigInterface
1718
{

app/code/Magento/Catalog/Model/Product/Pricing/Renderer/SalableResolverInterface.php

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

99
/**
1010
* Interface resolver checks whether product available for sale
11+
*
12+
* @api
1113
*/
1214
interface SalableResolverInterface
1315
{

app/code/Magento/Catalog/Model/Product/Type/Price/Factory.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@
44
* See COPYING.txt for license details.
55
*/
66

7+
namespace Magento\Catalog\Model\Product\Type\Price;
8+
79
/**
810
* Product type price factory
11+
*
12+
* @api
913
*/
10-
namespace Magento\Catalog\Model\Product\Type\Price;
11-
1214
class Factory
1315
{
1416
/**

app/code/Magento/Catalog/Model/ProductLink/CollectionProviderInterface.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
/**
1010
* Interface \Magento\Catalog\Model\ProductLink\CollectionProviderInterface
1111
*
12+
* @api
1213
*/
1314
interface CollectionProviderInterface
1415
{

app/code/Magento/Catalog/Model/ProductLink/Converter/ConverterInterface.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
/**
1010
* Interface \Magento\Catalog\Model\ProductLink\Converter\ConverterInterface
1111
*
12+
* @api
1213
*/
1314
interface ConverterInterface
1415
{

app/code/Magento/Catalog/Model/ProductLink/Data/ListCriteriaInterface.php

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

1010
/**
1111
* Criteria for finding lists.
12+
*
13+
* @api
1214
*/
1315
interface ListCriteriaInterface
1416
{

app/code/Magento/Catalog/Model/ProductLink/Data/ListResultInterface.php

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

1212
/**
1313
* Result of finding a list of links.
14+
*
15+
* @api
1416
*/
1517
interface ListResultInterface
1618
{

app/code/Magento/Catalog/Model/ProductLink/MapProviderInterface.php

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

1313
/**
1414
* Provide link data for products.
15+
*
16+
* @api
1517
*/
1618
interface MapProviderInterface
1719
{

app/code/Magento/Catalog/Model/ProductOptions/ConfigInterface.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
/**
99
* Interface \Magento\Catalog\Model\ProductOptions\ConfigInterface
1010
*
11+
* @api
1112
*/
1213
interface ConfigInterface
1314
{

app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Price/IndexTableStructure.php

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

1010
/**
1111
* Wrapper for structure of price index table.
12+
*
13+
* @api
1214
*/
1315
class IndexTableStructure
1416
{

app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Price/PriceModifierInterface.php

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

1010
/**
1111
* Interface for modifying price data in price index table.
12+
*
13+
* @api
1214
*/
1315
interface PriceModifierInterface
1416
{

app/code/Magento/Catalog/Model/ResourceModel/Product/LinkedProductSelectBuilderInterface.php

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

88
/**
99
* Provide Select object for retrieve product id with minimal price
10+
*
11+
* @api
1012
*/
1113
interface LinkedProductSelectBuilderInterface
1214
{

app/code/Magento/Catalog/Pricing/Price/ConfiguredPriceInterface.php

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

1111
/**
1212
* Configured price interface.
13+
*
14+
* @api
1315
*/
1416
interface ConfiguredPriceInterface
1517
{

app/code/Magento/Catalog/Pricing/Price/MinimalPriceCalculatorInterface.php

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

1212
/**
1313
* Interface define methods which control display of "As low as" price
14+
*
15+
* @api
1416
*/
1517
interface MinimalPriceCalculatorInterface
1618
{

app/code/Magento/Catalog/Pricing/Price/SpecialPriceInterface.php

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

99
/**
1010
* Special price interface
11+
*
12+
* @api
1113
*/
1214
interface SpecialPriceInterface
1315
{

app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/Eav/WysiwygConfigDataProcessorInterface.php

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

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

app/code/Magento/Checkout/Model/Type/Onepage.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
declare(strict_types=1);
7+
68
namespace Magento\Checkout\Model\Type;
79

810
use Magento\Customer\Api\AccountManagementInterface;
@@ -15,6 +17,9 @@
1517
use Magento\Sales\Model\Order\Email\Sender\OrderSender;
1618

1719
/**
20+
* Checkout type onepage model
21+
*
22+
* @api
1823
* @SuppressWarnings(PHPMD.TooManyFields)
1924
* @SuppressWarnings(PHPMD.ExcessiveClassComplexity)
2025
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)

app/code/Magento/Cms/Model/Template/FilterProvider.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
<?php
22
/**
3-
* Cms Template Filter Provider
4-
*
53
* Copyright © Magento, Inc. All rights reserved.
64
* See COPYING.txt for license details.
75
*/
6+
declare(strict_types=1);
7+
88
namespace Magento\Cms\Model\Template;
99

1010
/**
11-
* Filter provider model
11+
* Class Cms Template Filter Provider
12+
*
13+
* @api
1214
*/
1315
class FilterProvider
1416
{

app/code/Magento/Config/Block/System/Config/Form/Field/Factory.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
/**
1010
* Magento\Config\Block\System\Config\Form\Field Class Factory
1111
*
12+
* @api
1213
* @codeCoverageIgnore
1314
*/
1415
class Factory

app/code/Magento/Config/Block/System/Config/Form/Fieldset/Factory.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
/**
1010
* Magento\Config\Block\System\Config\Form\Fieldset Class Factory
1111
*
12+
* @api
1213
* @codeCoverageIgnore
1314
*/
1415
class Factory

app/code/Magento/Customer/Controller/Adminhtml/Index.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
declare(strict_types=1);
7+
68
namespace Magento\Customer\Controller\Adminhtml;
79

810
use Magento\Customer\Api\AccountManagementInterface;
@@ -17,8 +19,9 @@
1719
use Magento\Framework\Api\DataObjectHelper;
1820

1921
/**
20-
* Class Index
22+
* Class \Magento\Customer\Controller\Adminhtml\Index
2123
*
24+
* @api
2225
* @SuppressWarnings(PHPMD.ExcessiveClassComplexity)
2326
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
2427
* @SuppressWarnings(PHPMD.TooManyFields)

app/code/Magento/Customer/Model/CustomerRegistry.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
declare(strict_types=1);
67

78
namespace Magento\Customer\Model;
89

@@ -13,6 +14,8 @@
1314

1415
/**
1516
* Registry for \Magento\Customer\Model\Customer
17+
*
18+
* @api
1619
*/
1720
class CustomerRegistry
1821
{

0 commit comments

Comments
 (0)