Skip to content

Commit

Permalink
Merge pull request #7571 from magento-commerce/api-changes-develop
Browse files Browse the repository at this point in the history
[Lynx] Add Missing API Declaration
  • Loading branch information
sivaschenko committed Apr 19, 2022
2 parents 66bb1e1 + 040dbee commit 76ca822
Show file tree
Hide file tree
Showing 728 changed files with 1,961 additions and 240 deletions.
3 changes: 3 additions & 0 deletions app/code/Magento/AdvancedSearch/Block/SearchDataInterface.php
Expand Up @@ -3,11 +3,14 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\AdvancedSearch\Block;

/**
* Interface \Magento\AdvancedSearch\Block\SearchDataInterface
*
* @api
*/
interface SearchDataInterface
{
Expand Down
4 changes: 4 additions & 0 deletions app/code/Magento/Analytics/Api/Data/LinkInterface.php
Expand Up @@ -3,10 +3,14 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\Analytics\Api\Data;

/**
* Represents link with collected data and initialized vector for decryption.
*
* @api
*/
interface LinkInterface
{
Expand Down
4 changes: 4 additions & 0 deletions app/code/Magento/Analytics/Api/LinkProviderInterface.php
Expand Up @@ -3,10 +3,14 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\Analytics\Api;

/**
* Provides link to file with collected report data.
*
* @api
*/
interface LinkProviderInterface
{
Expand Down
Expand Up @@ -3,11 +3,15 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\Analytics\Model\Connector;

/**
* Introduces family of integration calls.
* Each implementation represents call to external service.
*
* @api
*/
interface CommandInterface
{
Expand Down
Expand Up @@ -3,10 +3,14 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\Analytics\Model;

/**
* The interface represents the type of classes that handling of a new data collection for MBI.
*
* @api
*/
interface ExportDataHandlerInterface
{
Expand Down
4 changes: 4 additions & 0 deletions app/code/Magento/Analytics/Model/ReportWriterInterface.php
Expand Up @@ -3,6 +3,8 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\Analytics\Model;

use Magento\Framework\Filesystem\Directory\WriteInterface;
Expand All @@ -14,6 +16,8 @@
* Executes export of collected data
* Iterates registered providers @see etc/analytics.xml
* Collects data (to TMP folder)
*
* @api
*/
interface ReportWriterInterface
{
Expand Down
Expand Up @@ -3,6 +3,8 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\Analytics\ReportXml\DB\Assembler;

use Magento\Analytics\ReportXml\DB\SelectBuilder;
Expand All @@ -13,6 +15,8 @@
* Introduces family of SQL assemblers
* Each assembler populates SelectBuilder with config information
* @see usage examples at \Magento\Analytics\ReportXml\QueryFactory
*
* @api
*/
interface AssemblerInterface
{
Expand Down
2 changes: 2 additions & 0 deletions app/code/Magento/Analytics/ReportXml/DB/SelectBuilder.php
Expand Up @@ -13,6 +13,8 @@
* Responsible for Select object creation, works as a builder. Returns Select as result;
*
* Used in SQL assemblers.
*
* @api
*/
class SelectBuilder
{
Expand Down
Expand Up @@ -11,6 +11,8 @@
* Interface UploadResizeConfigInterface
*
* Used to retrieve configuration for frontend image uploader
*
* @api
*/
interface UploadResizeConfigInterface
{
Expand Down
Expand Up @@ -3,10 +3,17 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\Backend\Model\Search\Config\Structure;

use Magento\Config\Model\Config\StructureElementInterface;

/**
* Element builder interface
*
* @api
*/
interface ElementBuilderInterface
{
/**
Expand Down
Expand Up @@ -3,6 +3,7 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\Bundle\Pricing\Adjustment;

Expand All @@ -11,6 +12,8 @@

/**
* Bundle calculator interface
*
* @api
*/
interface BundleCalculatorInterface extends CalculatorInterface
{
Expand Down
Expand Up @@ -3,11 +3,14 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\CardinalCommerce\Model\Response;

/**
* Parses content of CardinalCommerce response JWT.
*
* @api
*/
interface JwtParserInterface
{
Expand Down
Expand Up @@ -3,11 +3,14 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\CardinalCommerce\Model\Response;

/**
* Validates payload of CardinalCommerce response JWT.
*
* @api
*/
interface JwtPayloadValidatorInterface
{
Expand Down
Expand Up @@ -3,6 +3,8 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\Catalog\Block\Adminhtml\Product\Edit\Button;

use Magento\Catalog\Api\Data\ProductInterface;
Expand All @@ -12,6 +14,8 @@

/**
* Class Generic
*
* @api
*/
class Generic implements ButtonProviderInterface
{
Expand Down
2 changes: 2 additions & 0 deletions app/code/Magento/Catalog/Block/Product/AwareInterface.php
Expand Up @@ -7,6 +7,8 @@

/**
* Class Product Aware interface
*
* @api
*/
interface AwareInterface
{
Expand Down
2 changes: 2 additions & 0 deletions app/code/Magento/Catalog/Block/Product/ImageFactory.php
Expand Up @@ -18,6 +18,8 @@

/**
* Create imageBlock from product and view.xml
*
* @api
*/
class ImageFactory
{
Expand Down
Expand Up @@ -9,6 +9,7 @@
/**
* Interface \Magento\Catalog\Block\Product\ReviewRendererInterface
*
* @api
*/
interface ReviewRendererInterface
{
Expand Down
5 changes: 5 additions & 0 deletions app/code/Magento/Catalog/Controller/Adminhtml/Product.php
Expand Up @@ -3,12 +3,17 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\Catalog\Controller\Adminhtml;

use Magento\Backend\App\Action;

/**
* Catalog product controller
*
* @api
*
* @SuppressWarnings(PHPMD.NumberOfChildren)
*/
abstract class Product extends \Magento\Backend\App\Action
Expand Down
Expand Up @@ -8,6 +8,7 @@
/**
* Interface \Magento\Catalog\Controller\Adminhtml\Product\Initialization\Helper\HandlerInterface
*
* @api
*/
interface HandlerInterface
{
Expand Down
Expand Up @@ -6,6 +6,8 @@

/**
* Marker interface for controllers on product view page
*
* @api
*/
namespace Magento\Catalog\Controller\Product\View;

Expand Down
Expand Up @@ -10,6 +10,7 @@
/**
* Interface \Magento\Catalog\Model\Attribute\LockValidatorInterface
*
* @api
*/
interface LockValidatorInterface
{
Expand Down
1 change: 1 addition & 0 deletions app/code/Magento/Catalog/Model/Config.php
Expand Up @@ -11,6 +11,7 @@
/**
* Catalog config model.
*
* @api
* @SuppressWarnings(PHPMD.LongVariable)
* @SuppressWarnings(PHPMD.TooManyFields)
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
Expand Down
Expand Up @@ -9,6 +9,8 @@

/**
* Interface ProductPriceOptionsInterface
*
* @api
*/
interface ProductPriceOptionsInterface extends OptionSourceInterface
{
Expand Down
Expand Up @@ -12,6 +12,7 @@
/**
* Interface \Magento\Catalog\Model\Entity\Product\Attribute\Group\AttributeMapperInterface
*
* @api
*/
interface AttributeMapperInterface
{
Expand Down
Expand Up @@ -7,6 +7,8 @@

/**
* Interface TableDataInterface
*
* @api
*/
interface TableDataInterface
{
Expand Down
Expand Up @@ -9,6 +9,7 @@
/**
* Interface \Magento\Catalog\Model\Layer\CollectionFilterInterface
*
* @api
*/
interface CollectionFilterInterface
{
Expand Down
7 changes: 4 additions & 3 deletions app/code/Magento/Catalog/Model/Layer/Filter/Item.php
Expand Up @@ -3,14 +3,15 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\Catalog\Model\Layer\Filter;

/**
* Filter item model
*
* @author Magento Core Team <core@magentocommerce.com>
* @api
*/
namespace Magento\Catalog\Model\Layer\Filter;

class Item extends \Magento\Framework\DataObject
{
/**
Expand Down
Expand Up @@ -9,6 +9,7 @@
/**
* Interface \Magento\Catalog\Model\Layer\FilterableAttributeListInterface
*
* @api
*/
interface FilterableAttributeListInterface
{
Expand Down
Expand Up @@ -10,6 +10,7 @@
/**
* Interface \Magento\Catalog\Model\Layer\ItemCollectionProviderInterface
*
* @api
*/
interface ItemCollectionProviderInterface
{
Expand Down
8 changes: 8 additions & 0 deletions app/code/Magento/Catalog/Model/Layer/Resolver.php
Expand Up @@ -4,8 +4,16 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/

declare(strict_types=1);

namespace Magento\Catalog\Model\Layer;

/**
* Layer Resolver
*
* @api
*/
class Resolver
{
const CATALOG_LAYER_CATEGORY = 'category';
Expand Down
1 change: 1 addition & 0 deletions app/code/Magento/Catalog/Model/Layer/StateKeyInterface.php
Expand Up @@ -9,6 +9,7 @@
/**
* Interface \Magento\Catalog\Model\Layer\StateKeyInterface
*
* @api
*/
interface StateKeyInterface
{
Expand Down
Expand Up @@ -12,6 +12,7 @@
/**
* Interface \Magento\Catalog\Model\Product\Condition\ConditionInterface
*
* @api
*/
interface ConditionInterface
{
Expand Down
Expand Up @@ -7,6 +7,7 @@
/**
* Interface of product configurational item option
*
* @api
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Catalog\Model\Product\Configuration\Item\Option;
Expand Down

0 comments on commit 76ca822

Please sign in to comment.