diff --git a/app/code/Magento/GraphQl/Controller/HttpHeaderProcessorInterface.php b/app/code/Magento/GraphQl/Controller/HttpHeaderProcessorInterface.php index a20f88a4ef995..ed9df3472b10f 100644 --- a/app/code/Magento/GraphQl/Controller/HttpHeaderProcessorInterface.php +++ b/app/code/Magento/GraphQl/Controller/HttpHeaderProcessorInterface.php @@ -9,6 +9,8 @@ /** * Use this interface to implement a processor for each entry of a header in an HTTP GraphQL request. + * + * @api */ interface HttpHeaderProcessorInterface { diff --git a/app/code/Magento/GraphQl/Controller/HttpRequestValidatorInterface.php b/app/code/Magento/GraphQl/Controller/HttpRequestValidatorInterface.php index 2d9d50569e344..bd1f4b4caf3d4 100644 --- a/app/code/Magento/GraphQl/Controller/HttpRequestValidatorInterface.php +++ b/app/code/Magento/GraphQl/Controller/HttpRequestValidatorInterface.php @@ -12,6 +12,8 @@ /** * Use this interface to implement a validator for a Graphql HTTP requests + * + * @api */ interface HttpRequestValidatorInterface { diff --git a/app/code/Magento/GraphQl/Model/Query/ContextInterface.php b/app/code/Magento/GraphQl/Model/Query/ContextInterface.php index 84b36064e2824..ba532c7191dfe 100644 --- a/app/code/Magento/GraphQl/Model/Query/ContextInterface.php +++ b/app/code/Magento/GraphQl/Model/Query/ContextInterface.php @@ -16,6 +16,8 @@ * * GraphQL will pass the same instance of this interface to each field resolver, so these resolvers could have * shared access to the same data for ease of implementation purposes. + * + * @api */ interface ContextInterface extends BaseContextInterface, ExtensibleDataInterface { diff --git a/app/code/Magento/GraphQl/Model/Query/ContextParametersInterface.php b/app/code/Magento/GraphQl/Model/Query/ContextParametersInterface.php index 9c49c2e2b120c..540d76e7afca3 100644 --- a/app/code/Magento/GraphQl/Model/Query/ContextParametersInterface.php +++ b/app/code/Magento/GraphQl/Model/Query/ContextParametersInterface.php @@ -9,6 +9,8 @@ /** * Provide possibility to add custom parameters to context object + * + * @api */ interface ContextParametersInterface { diff --git a/app/code/Magento/GraphQl/Model/Query/ContextParametersProcessorInterface.php b/app/code/Magento/GraphQl/Model/Query/ContextParametersProcessorInterface.php index 30f1835f2a0fa..6e3cb17cec912 100644 --- a/app/code/Magento/GraphQl/Model/Query/ContextParametersProcessorInterface.php +++ b/app/code/Magento/GraphQl/Model/Query/ContextParametersProcessorInterface.php @@ -14,6 +14,8 @@ * - Class must extend ContextParametersProcessorInterface. * - Implement execute method which adds additional data to the context though extension attributes. * - This data will be present in each resolver. + * + * @api */ interface ContextParametersProcessorInterface { diff --git a/app/code/Magento/ImportExport/Api/Data/ExtendedExportInfoInterface.php b/app/code/Magento/ImportExport/Api/Data/ExtendedExportInfoInterface.php index aa14d562d9cf7..2e7dae342af0f 100644 --- a/app/code/Magento/ImportExport/Api/Data/ExtendedExportInfoInterface.php +++ b/app/code/Magento/ImportExport/Api/Data/ExtendedExportInfoInterface.php @@ -9,6 +9,8 @@ /** * Extended export interface for implementation of Skipped Attributes which are missing from the basic interface + * + * @api */ interface ExtendedExportInfoInterface extends ExportInfoInterface { diff --git a/app/code/Magento/ImportExport/Model/Report/ReportProcessorInterface.php b/app/code/Magento/ImportExport/Model/Report/ReportProcessorInterface.php index a87f543146a57..66a0438c21e5a 100644 --- a/app/code/Magento/ImportExport/Model/Report/ReportProcessorInterface.php +++ b/app/code/Magento/ImportExport/Model/Report/ReportProcessorInterface.php @@ -3,6 +3,7 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); namespace Magento\ImportExport\Model\Report; @@ -10,6 +11,8 @@ /** * Error report generator interface + * + * @api */ interface ReportProcessorInterface { diff --git a/app/code/Magento/Indexer/Model/DimensionModes.php b/app/code/Magento/Indexer/Model/DimensionModes.php index a9507a6f4d358..51d1f9b2aefef 100644 --- a/app/code/Magento/Indexer/Model/DimensionModes.php +++ b/app/code/Magento/Indexer/Model/DimensionModes.php @@ -9,6 +9,8 @@ /** * DTO to work with dimension modes + * + * @api */ class DimensionModes { diff --git a/app/code/Magento/Indexer/Model/ModeSwitcherInterface.php b/app/code/Magento/Indexer/Model/ModeSwitcherInterface.php index 8984b05365fb9..c02505d70cfe2 100644 --- a/app/code/Magento/Indexer/Model/ModeSwitcherInterface.php +++ b/app/code/Magento/Indexer/Model/ModeSwitcherInterface.php @@ -9,6 +9,8 @@ /** * Interface to switch indexer mode + * + * @api */ interface ModeSwitcherInterface { diff --git a/app/code/Magento/Indexer/Model/Source/DataInterface.php b/app/code/Magento/Indexer/Model/Source/DataInterface.php index 4c3ed2566f1f2..4ac4008525608 100644 --- a/app/code/Magento/Indexer/Model/Source/DataInterface.php +++ b/app/code/Magento/Indexer/Model/Source/DataInterface.php @@ -3,6 +3,8 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + namespace Magento\Indexer\Model\Source; use Magento\Framework\Exception\NotFoundException; @@ -10,6 +12,7 @@ /** * Interface \Magento\Indexer\Model\Source\DataInterface * + * @api */ interface DataInterface { diff --git a/app/code/Magento/Integration/Model/Oauth/Token/RequestLog/ReaderInterface.php b/app/code/Magento/Integration/Model/Oauth/Token/RequestLog/ReaderInterface.php index 939effa89563c..88937fe28382a 100644 --- a/app/code/Magento/Integration/Model/Oauth/Token/RequestLog/ReaderInterface.php +++ b/app/code/Magento/Integration/Model/Oauth/Token/RequestLog/ReaderInterface.php @@ -4,10 +4,14 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + namespace Magento\Integration\Model\Oauth\Token\RequestLog; /** * OAuth token request log reader interface. + * + * @api */ interface ReaderInterface { diff --git a/app/code/Magento/Integration/Model/Oauth/Token/RequestLog/WriterInterface.php b/app/code/Magento/Integration/Model/Oauth/Token/RequestLog/WriterInterface.php index 79d1ee4c4b80f..d71a323818962 100644 --- a/app/code/Magento/Integration/Model/Oauth/Token/RequestLog/WriterInterface.php +++ b/app/code/Magento/Integration/Model/Oauth/Token/RequestLog/WriterInterface.php @@ -4,10 +4,14 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + namespace Magento\Integration\Model\Oauth\Token\RequestLog; /** * OAuth token request log writer interface. + * + * @api */ interface WriterInterface { diff --git a/app/code/Magento/LoginAsCustomerApi/Api/Data/IsLoginAsCustomerEnabledForCustomerResultInterface.php b/app/code/Magento/LoginAsCustomerApi/Api/Data/IsLoginAsCustomerEnabledForCustomerResultInterface.php index b7d3a616176ef..4f517fd7f315f 100644 --- a/app/code/Magento/LoginAsCustomerApi/Api/Data/IsLoginAsCustomerEnabledForCustomerResultInterface.php +++ b/app/code/Magento/LoginAsCustomerApi/Api/Data/IsLoginAsCustomerEnabledForCustomerResultInterface.php @@ -9,6 +9,8 @@ /** * IsLoginAsCustomerEnabledForCustomerInterface results. + * + * @api */ interface IsLoginAsCustomerEnabledForCustomerResultInterface { diff --git a/app/code/Magento/LoginAsCustomerApi/Api/GetLoggedAsCustomerAdminIdInterface.php b/app/code/Magento/LoginAsCustomerApi/Api/GetLoggedAsCustomerAdminIdInterface.php index 49c0f796be006..44b59c7810acc 100644 --- a/app/code/Magento/LoginAsCustomerApi/Api/GetLoggedAsCustomerAdminIdInterface.php +++ b/app/code/Magento/LoginAsCustomerApi/Api/GetLoggedAsCustomerAdminIdInterface.php @@ -9,6 +9,8 @@ /** * Get id of Admin logged as Customer. + * + * @api */ interface GetLoggedAsCustomerAdminIdInterface { diff --git a/app/code/Magento/LoginAsCustomerApi/Api/GetLoggedAsCustomerCustomerIdInterface.php b/app/code/Magento/LoginAsCustomerApi/Api/GetLoggedAsCustomerCustomerIdInterface.php index 047061b3edd69..1d12d6551a2ff 100644 --- a/app/code/Magento/LoginAsCustomerApi/Api/GetLoggedAsCustomerCustomerIdInterface.php +++ b/app/code/Magento/LoginAsCustomerApi/Api/GetLoggedAsCustomerCustomerIdInterface.php @@ -9,6 +9,8 @@ /** * Get id of Customer Admin is logged as. + * + * @api */ interface GetLoggedAsCustomerCustomerIdInterface { diff --git a/app/code/Magento/LoginAsCustomerApi/Api/IsLoginAsCustomerEnabledForCustomerInterface.php b/app/code/Magento/LoginAsCustomerApi/Api/IsLoginAsCustomerEnabledForCustomerInterface.php index a5355fd4566d5..7742bc23e421b 100644 --- a/app/code/Magento/LoginAsCustomerApi/Api/IsLoginAsCustomerEnabledForCustomerInterface.php +++ b/app/code/Magento/LoginAsCustomerApi/Api/IsLoginAsCustomerEnabledForCustomerInterface.php @@ -11,6 +11,8 @@ /** * Check if Login as Customer functionality is enabled for Customer. + * + * @api */ interface IsLoginAsCustomerEnabledForCustomerInterface { diff --git a/app/code/Magento/LoginAsCustomerApi/Api/SetLoggedAsCustomerAdminIdInterface.php b/app/code/Magento/LoginAsCustomerApi/Api/SetLoggedAsCustomerAdminIdInterface.php index b921c2fc6e8d3..531a21496901e 100644 --- a/app/code/Magento/LoginAsCustomerApi/Api/SetLoggedAsCustomerAdminIdInterface.php +++ b/app/code/Magento/LoginAsCustomerApi/Api/SetLoggedAsCustomerAdminIdInterface.php @@ -9,6 +9,8 @@ /** * Set id of Admin logged as Customer. + * + * @api */ interface SetLoggedAsCustomerAdminIdInterface { diff --git a/app/code/Magento/LoginAsCustomerApi/Api/SetLoggedAsCustomerCustomerIdInterface.php b/app/code/Magento/LoginAsCustomerApi/Api/SetLoggedAsCustomerCustomerIdInterface.php index 265ae1aa36c45..a77300528ba72 100644 --- a/app/code/Magento/LoginAsCustomerApi/Api/SetLoggedAsCustomerCustomerIdInterface.php +++ b/app/code/Magento/LoginAsCustomerApi/Api/SetLoggedAsCustomerCustomerIdInterface.php @@ -9,6 +9,8 @@ /** * Set id of Customer Admin is logged as. + * + * @api */ interface SetLoggedAsCustomerCustomerIdInterface { diff --git a/app/code/Magento/LoginAsCustomerAssistance/Api/ConfigInterface.php b/app/code/Magento/LoginAsCustomerAssistance/Api/ConfigInterface.php index 7cd54567d26d5..e9f5878e80670 100644 --- a/app/code/Magento/LoginAsCustomerAssistance/Api/ConfigInterface.php +++ b/app/code/Magento/LoginAsCustomerAssistance/Api/ConfigInterface.php @@ -9,6 +9,8 @@ /** * LoginAsCustomerAssistance config. + * + * @api */ interface ConfigInterface { diff --git a/app/code/Magento/LoginAsCustomerAssistance/Api/IsAssistanceEnabledInterface.php b/app/code/Magento/LoginAsCustomerAssistance/Api/IsAssistanceEnabledInterface.php index 916d03477a5d3..b1cc9c778be0f 100644 --- a/app/code/Magento/LoginAsCustomerAssistance/Api/IsAssistanceEnabledInterface.php +++ b/app/code/Magento/LoginAsCustomerAssistance/Api/IsAssistanceEnabledInterface.php @@ -9,6 +9,8 @@ /** * Get 'assistance_allowed' attribute from Customer. + * + * @api */ interface IsAssistanceEnabledInterface { diff --git a/app/code/Magento/LoginAsCustomerAssistance/Api/SetAssistanceInterface.php b/app/code/Magento/LoginAsCustomerAssistance/Api/SetAssistanceInterface.php index ce8d2020341be..6564dfc45528b 100644 --- a/app/code/Magento/LoginAsCustomerAssistance/Api/SetAssistanceInterface.php +++ b/app/code/Magento/LoginAsCustomerAssistance/Api/SetAssistanceInterface.php @@ -9,6 +9,8 @@ /** * Set 'assistance_allowed' attribute to Customer. + * + * @api */ interface SetAssistanceInterface { diff --git a/lib/internal/Magento/Framework/App/HttpRequestInterface.php b/lib/internal/Magento/Framework/App/HttpRequestInterface.php index 674ccdb07f49f..1521ed8fbdb3f 100644 --- a/lib/internal/Magento/Framework/App/HttpRequestInterface.php +++ b/lib/internal/Magento/Framework/App/HttpRequestInterface.php @@ -7,6 +7,11 @@ namespace Magento\Framework\App; +/** + * Interface HttpRequestInterface + * + * @api + */ interface HttpRequestInterface { /**