diff --git a/app/code/Magento/Directory/Model/Country/Postcode/ConfigInterface.php b/app/code/Magento/Directory/Model/Country/Postcode/ConfigInterface.php index d0f66106e44e0..2171af7f00f6a 100644 --- a/app/code/Magento/Directory/Model/Country/Postcode/ConfigInterface.php +++ b/app/code/Magento/Directory/Model/Country/Postcode/ConfigInterface.php @@ -3,10 +3,14 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + namespace Magento\Directory\Model\Country\Postcode; /** * Configured postcode validation patterns + * + * @api */ interface ConfigInterface { diff --git a/app/code/Magento/Directory/Model/Country/Postcode/ValidatorInterface.php b/app/code/Magento/Directory/Model/Country/Postcode/ValidatorInterface.php index e5af9e6725992..f77df5f0ea00c 100644 --- a/app/code/Magento/Directory/Model/Country/Postcode/ValidatorInterface.php +++ b/app/code/Magento/Directory/Model/Country/Postcode/ValidatorInterface.php @@ -3,11 +3,14 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + namespace Magento\Directory\Model\Country\Postcode; /** * Interface \Magento\Directory\Model\Country\Postcode\ValidatorInterface * + * @api */ interface ValidatorInterface { diff --git a/app/code/Magento/Downloadable/Api/DomainManagerInterface.php b/app/code/Magento/Downloadable/Api/DomainManagerInterface.php index ca98f18e36c33..325cb78e79237 100644 --- a/app/code/Magento/Downloadable/Api/DomainManagerInterface.php +++ b/app/code/Magento/Downloadable/Api/DomainManagerInterface.php @@ -3,11 +3,15 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + namespace Magento\Downloadable\Api; /** * Interface DomainManagerInterface * Manage downloadable domains whitelist. + * + * @api */ interface DomainManagerInterface { diff --git a/app/code/Magento/Downloadable/Pricing/Price/LinkPriceInterface.php b/app/code/Magento/Downloadable/Pricing/Price/LinkPriceInterface.php index 7663546c9e3f2..657e2f79e8de6 100644 --- a/app/code/Magento/Downloadable/Pricing/Price/LinkPriceInterface.php +++ b/app/code/Magento/Downloadable/Pricing/Price/LinkPriceInterface.php @@ -3,6 +3,7 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); namespace Magento\Downloadable\Pricing\Price; @@ -10,6 +11,8 @@ /** * Class LinkPrice Model + * + * @api */ interface LinkPriceInterface { diff --git a/app/code/Magento/Eav/Model/Entity/Attribute/AttributeInterface.php b/app/code/Magento/Eav/Model/Entity/Attribute/AttributeInterface.php index f6ec8024ce235..b5abe08e09edb 100644 --- a/app/code/Magento/Eav/Model/Entity/Attribute/AttributeInterface.php +++ b/app/code/Magento/Eav/Model/Entity/Attribute/AttributeInterface.php @@ -3,11 +3,14 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + namespace Magento\Eav\Model\Entity\Attribute; /** * Interface \Magento\Eav\Model\Entity\Attribute\AttributeInterface * + * @api */ interface AttributeInterface { diff --git a/app/code/Magento/Eav/Model/Entity/Attribute/Backend/BackendInterface.php b/app/code/Magento/Eav/Model/Entity/Attribute/Backend/BackendInterface.php index 7a0cc147e34af..3a546cd5ec83a 100644 --- a/app/code/Magento/Eav/Model/Entity/Attribute/Backend/BackendInterface.php +++ b/app/code/Magento/Eav/Model/Entity/Attribute/Backend/BackendInterface.php @@ -3,6 +3,8 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + namespace Magento\Eav\Model\Entity\Attribute\Backend; /** @@ -11,6 +13,7 @@ * Backend is responsible for saving the values of the attribute * and performing pre and post actions * + * @api */ interface BackendInterface { diff --git a/app/code/Magento/Eav/Model/Entity/Attribute/Source/SpecificSourceInterface.php b/app/code/Magento/Eav/Model/Entity/Attribute/Source/SpecificSourceInterface.php index c6422962f6b1b..8e7e1aeaab9e4 100644 --- a/app/code/Magento/Eav/Model/Entity/Attribute/Source/SpecificSourceInterface.php +++ b/app/code/Magento/Eav/Model/Entity/Attribute/Source/SpecificSourceInterface.php @@ -12,6 +12,8 @@ /** * Can provide entity-specific options for an attribute. + * + * @api */ interface SpecificSourceInterface extends SourceInterface { diff --git a/app/code/Magento/Eav/Model/Entity/Attribute/UniqueValidationInterface.php b/app/code/Magento/Eav/Model/Entity/Attribute/UniqueValidationInterface.php index b68e79d7b7d20..7d6a78af11996 100644 --- a/app/code/Magento/Eav/Model/Entity/Attribute/UniqueValidationInterface.php +++ b/app/code/Magento/Eav/Model/Entity/Attribute/UniqueValidationInterface.php @@ -3,6 +3,8 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + namespace Magento\Eav\Model\Entity\Attribute; use Magento\Framework\DataObject; @@ -10,6 +12,8 @@ /** * Interface for unique attribute validator + * + * @api */ interface UniqueValidationInterface { diff --git a/app/code/Magento/Eav/Model/Entity/AttributeLoaderInterface.php b/app/code/Magento/Eav/Model/Entity/AttributeLoaderInterface.php index 2440492070c66..ab5bcaf256106 100644 --- a/app/code/Magento/Eav/Model/Entity/AttributeLoaderInterface.php +++ b/app/code/Magento/Eav/Model/Entity/AttributeLoaderInterface.php @@ -3,6 +3,7 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); namespace Magento\Eav\Model\Entity; @@ -10,6 +11,8 @@ /** * Interface AttributeLoaderInterface + * + * @api */ interface AttributeLoaderInterface { diff --git a/app/code/Magento/Eav/Model/Entity/Setup/PropertyMapperInterface.php b/app/code/Magento/Eav/Model/Entity/Setup/PropertyMapperInterface.php index b2bb727d6bc88..b8d67f1ad4add 100644 --- a/app/code/Magento/Eav/Model/Entity/Setup/PropertyMapperInterface.php +++ b/app/code/Magento/Eav/Model/Entity/Setup/PropertyMapperInterface.php @@ -5,11 +5,14 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + namespace Magento\Eav\Model\Entity\Setup; /** * Interface \Magento\Eav\Model\Entity\Setup\PropertyMapperInterface * + * @api */ interface PropertyMapperInterface { diff --git a/app/code/Magento/Eav/Model/ResourceModel/Attribute/DefaultEntityAttributes/ProviderInterface.php b/app/code/Magento/Eav/Model/ResourceModel/Attribute/DefaultEntityAttributes/ProviderInterface.php index 02d94a7ce4dc0..c4e4f51e7bd17 100644 --- a/app/code/Magento/Eav/Model/ResourceModel/Attribute/DefaultEntityAttributes/ProviderInterface.php +++ b/app/code/Magento/Eav/Model/ResourceModel/Attribute/DefaultEntityAttributes/ProviderInterface.php @@ -3,11 +3,14 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + namespace Magento\Eav\Model\ResourceModel\Attribute\DefaultEntityAttributes; /** * Interface \Magento\Eav\Model\ResourceModel\Attribute\DefaultEntityAttributes\ProviderInterface * + * @api */ interface ProviderInterface { diff --git a/app/code/Magento/Elasticsearch/Model/Adapter/FieldMapper/Product/AttributeAdapter.php b/app/code/Magento/Elasticsearch/Model/Adapter/FieldMapper/Product/AttributeAdapter.php index 41a50961ae4bc..7efdb50adf8e1 100644 --- a/app/code/Magento/Elasticsearch/Model/Adapter/FieldMapper/Product/AttributeAdapter.php +++ b/app/code/Magento/Elasticsearch/Model/Adapter/FieldMapper/Product/AttributeAdapter.php @@ -11,6 +11,8 @@ /** * Product attribute adapter for elasticsearch context. + * + * @api */ class AttributeAdapter { diff --git a/app/code/Magento/Elasticsearch/Model/Adapter/FieldMapper/Product/FieldProvider/FieldIndex/ConverterInterface.php b/app/code/Magento/Elasticsearch/Model/Adapter/FieldMapper/Product/FieldProvider/FieldIndex/ConverterInterface.php index 5ecfd62430032..53b3f1a34c2de 100644 --- a/app/code/Magento/Elasticsearch/Model/Adapter/FieldMapper/Product/FieldProvider/FieldIndex/ConverterInterface.php +++ b/app/code/Magento/Elasticsearch/Model/Adapter/FieldMapper/Product/FieldProvider/FieldIndex/ConverterInterface.php @@ -9,6 +9,8 @@ /** * Field type converter from internal index value to elastic service. + * + * @api */ interface ConverterInterface { diff --git a/app/code/Magento/Elasticsearch/Model/Adapter/FieldMapper/Product/FieldProvider/FieldIndex/ResolverInterface.php b/app/code/Magento/Elasticsearch/Model/Adapter/FieldMapper/Product/FieldProvider/FieldIndex/ResolverInterface.php index 663b1d865fb52..a2cf06bace546 100644 --- a/app/code/Magento/Elasticsearch/Model/Adapter/FieldMapper/Product/FieldProvider/FieldIndex/ResolverInterface.php +++ b/app/code/Magento/Elasticsearch/Model/Adapter/FieldMapper/Product/FieldProvider/FieldIndex/ResolverInterface.php @@ -11,6 +11,8 @@ /** * Field index type resolver interface. + * + * @api */ interface ResolverInterface { diff --git a/app/code/Magento/Elasticsearch/Model/Adapter/FieldMapper/Product/FieldProvider/FieldName/ResolverInterface.php b/app/code/Magento/Elasticsearch/Model/Adapter/FieldMapper/Product/FieldProvider/FieldName/ResolverInterface.php index 3d36e026f70db..1f022e3acead1 100644 --- a/app/code/Magento/Elasticsearch/Model/Adapter/FieldMapper/Product/FieldProvider/FieldName/ResolverInterface.php +++ b/app/code/Magento/Elasticsearch/Model/Adapter/FieldMapper/Product/FieldProvider/FieldName/ResolverInterface.php @@ -11,6 +11,8 @@ /** * Field name resolver for preparing field key for elasticsearch mapping by attribute. + * + * @api */ interface ResolverInterface { diff --git a/app/code/Magento/Elasticsearch/Model/Adapter/FieldMapper/Product/FieldProvider/FieldType/ResolverInterface.php b/app/code/Magento/Elasticsearch/Model/Adapter/FieldMapper/Product/FieldProvider/FieldType/ResolverInterface.php index 43e512ecb025b..26171ccdd127a 100644 --- a/app/code/Magento/Elasticsearch/Model/Adapter/FieldMapper/Product/FieldProvider/FieldType/ResolverInterface.php +++ b/app/code/Magento/Elasticsearch/Model/Adapter/FieldMapper/Product/FieldProvider/FieldType/ResolverInterface.php @@ -11,6 +11,8 @@ /** * Field type resolver interface. + * + * @api */ interface ResolverInterface { diff --git a/app/code/Magento/Elasticsearch/Model/Adapter/FieldMapper/Product/FieldProviderInterface.php b/app/code/Magento/Elasticsearch/Model/Adapter/FieldMapper/Product/FieldProviderInterface.php index aaafb699b33bd..4d17ada034332 100644 --- a/app/code/Magento/Elasticsearch/Model/Adapter/FieldMapper/Product/FieldProviderInterface.php +++ b/app/code/Magento/Elasticsearch/Model/Adapter/FieldMapper/Product/FieldProviderInterface.php @@ -10,6 +10,8 @@ /** * Product fields provider. * Provide fields mapping configuration for elasticsearch service of internal product attributes. + * + * @api */ interface FieldProviderInterface { diff --git a/app/code/Magento/Elasticsearch/Model/Adapter/FieldsMappingPreprocessorInterface.php b/app/code/Magento/Elasticsearch/Model/Adapter/FieldsMappingPreprocessorInterface.php index 6eea6560f7273..abf813d3f4203 100644 --- a/app/code/Magento/Elasticsearch/Model/Adapter/FieldsMappingPreprocessorInterface.php +++ b/app/code/Magento/Elasticsearch/Model/Adapter/FieldsMappingPreprocessorInterface.php @@ -9,6 +9,8 @@ /** * Modifies fields mapping before save + * + * @api */ interface FieldsMappingPreprocessorInterface { diff --git a/app/code/Magento/Elasticsearch/SearchAdapter/Query/ValueTransformerInterface.php b/app/code/Magento/Elasticsearch/SearchAdapter/Query/ValueTransformerInterface.php index c84ddc69cc7a8..b89faf1d49551 100644 --- a/app/code/Magento/Elasticsearch/SearchAdapter/Query/ValueTransformerInterface.php +++ b/app/code/Magento/Elasticsearch/SearchAdapter/Query/ValueTransformerInterface.php @@ -9,6 +9,8 @@ /** * Value transformer of search term for matching with ES field types. + * + * @api */ interface ValueTransformerInterface { diff --git a/app/code/Magento/Elasticsearch/SearchAdapter/QueryAwareInterface.php b/app/code/Magento/Elasticsearch/SearchAdapter/QueryAwareInterface.php index bcc47e932baaa..003d5abf9e845 100644 --- a/app/code/Magento/Elasticsearch/SearchAdapter/QueryAwareInterface.php +++ b/app/code/Magento/Elasticsearch/SearchAdapter/QueryAwareInterface.php @@ -3,6 +3,7 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); namespace Magento\Elasticsearch\SearchAdapter; @@ -13,6 +14,8 @@ * Its goal is to mark the fact that a class which implements this interface requires * the QueryContainer object to be passed as constructor argument * with the name 'queryContainer' to work properly + * + * @api */ interface QueryAwareInterface {