Skip to content

Commit 39c20d2

Browse files
author
Gabriel Galvao da Gama
committed
Merge remote-tracking branch 'magento-engcom/imported-magento-magento2-32156' into api-changes-delivery
2 parents e1eb785 + eedf8fc commit 39c20d2

35 files changed

+128
-20
lines changed

lib/internal/Magento/Framework/Api/CriteriaInterface.php

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

810
/**
911
* Interface CriteriaInterface
12+
*
13+
* @api
1014
*/
1115
interface CriteriaInterface
1216
{

lib/internal/Magento/Framework/Async/CancelableDeferredInterface.php

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

98
namespace Magento\Framework\Async;
109

1110
/**
1211
* Described deferred operation that can be canceled.
12+
*
13+
* @api
1314
*/
1415
interface CancelableDeferredInterface extends DeferredInterface
1516
{

lib/internal/Magento/Framework/Async/DeferredInterface.php

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

98
namespace Magento\Framework\Async;
109

1110
/**
1211
* Describes a value that will be available at later time.
12+
*
13+
* @api
1314
*/
1415
interface DeferredInterface
1516
{

lib/internal/Magento/Framework/Autoload/AutoloaderInterface.php

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

810
/**
911
* Interface for an autoloader class that allows the dynamic modification of PSR-0 and PSR-4 mappings
12+
*
13+
* @api
1014
*/
1115
interface AutoloaderInterface
1216
{

lib/internal/Magento/Framework/Backup/SourceFileInterface.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +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\Framework\Backup;
69

710
/**
811
* Interface for work with archives
912
*
10-
* @author Magento Core Team <core@magentocommerce.com>
13+
* @api
1114
*/
12-
13-
namespace Magento\Framework\Backup;
14-
1515
interface SourceFileInterface
1616
{
1717

lib/internal/Magento/Framework/Cache/ConfigInterface.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
<?php
22
/**
3-
* Cache configuration model. Provides cache configuration data to the application
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\Framework\Cache;
99

1010
/**
1111
* Interface \Magento\Framework\Cache\ConfigInterface
1212
*
13+
* @api
1314
*/
1415
interface ConfigInterface
1516
{

lib/internal/Magento/Framework/Cache/StaleCacheNotifierInterface.php

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

78
namespace Magento\Framework\Cache;
89

910
/**
1011
* Notifier for stale cache retrieval detection
12+
*
13+
* @api
1114
*/
1215
interface StaleCacheNotifierInterface
1316
{

lib/internal/Magento/Framework/Code/Generator/CodeGeneratorInterface.php

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

810
/**
911
* Interface \Magento\Framework\Code\Generator\CodeGeneratorInterface
1012
*
13+
* @api
1114
*/
1215
interface CodeGeneratorInterface extends \Laminas\Code\Generator\GeneratorInterface
1316
{

lib/internal/Magento/Framework/Code/Minifier/AdapterInterface.php

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

7-
/**
8-
* Interface for minification adapters
9-
*/
108
namespace Magento\Framework\Code\Minifier;
119

1210
/**
1311
* Interface \Magento\Framework\Code\Minifier\AdapterInterface
1412
*
13+
* @api
1514
*/
1615
interface AdapterInterface
1716
{

lib/internal/Magento/Framework/Code/Reader/ClassReaderInterface.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
<?php
22
/**
3-
*
43
* Copyright © Magento, Inc. All rights reserved.
54
* See COPYING.txt for license details.
65
*/
6+
declare(strict_types=1);
77

88
namespace Magento\Framework\Code\Reader;
99

1010
/**
1111
* Interface \Magento\Framework\Code\Reader\ClassReaderInterface
1212
*
13+
* @api
1314
*/
1415
interface ClassReaderInterface
1516
{

lib/internal/Magento/Framework/Code/ValidatorInterface.php

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

810
/**
911
* Interface \Magento\Framework\Code\ValidatorInterface
1012
*
13+
* @api
1114
*/
1215
interface ValidatorInterface
1316
{

lib/internal/Magento/Framework/Component/ComponentRegistrarInterface.php

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

10+
/**
11+
* Component Registrar Interface
12+
*
13+
* @api
14+
*/
815
interface ComponentRegistrarInterface
916
{
1017
/**

lib/internal/Magento/Framework/Crontab/CrontabManagerInterface.php

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

810
use Magento\Framework\Exception\LocalizedException;
911

1012
/**
1113
* Interface \Magento\Framework\Crontab\CrontabManagerInterface
1214
*
15+
* @api
1316
*/
1417
interface CrontabManagerInterface
1518
{

lib/internal/Magento/Framework/Crontab/TasksProviderInterface.php

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

810
/**
911
* Interface \Magento\Framework\Crontab\TasksProviderInterface
1012
*
13+
* @api
1114
*/
1215
interface TasksProviderInterface
1316
{

lib/internal/Magento/Framework/Css/PreProcessor/ErrorHandlerInterface.php

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

810
/**
911
* Error handler interface
12+
*
13+
* @api
1014
*/
1115
interface ErrorHandlerInterface
1216
{

lib/internal/Magento/Framework/DB/DataConverter/DataConverterInterface.php

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

810
/**
911
* Convert from one format to another
12+
*
13+
* @api
1014
*/
1115
interface DataConverterInterface
1216
{

lib/internal/Magento/Framework/DB/LoggerInterface.php

Lines changed: 2 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\Framework\DB;
79

810
/**

lib/internal/Magento/Framework/DB/MapperInterface.php

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

810
/**
911
* Interface MapperInterface
12+
*
13+
* @api
1014
*/
1115
interface MapperInterface
1216
{

lib/internal/Magento/Framework/DB/Query/BatchIteratorInterface.php

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

810
/**
911
* Batch Iterator interface
12+
*
13+
* @api
1014
*/
1115
interface BatchIteratorInterface extends \Iterator
1216
{

lib/internal/Magento/Framework/DB/QueryInterface.php

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

810
/**
9-
* Class QueryInterface
11+
* Interface QueryInterface
12+
*
13+
* @api
1014
*/
1115
interface QueryInterface
1216
{

lib/internal/Magento/Framework/DB/Select/QueryModifierInterface.php

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

810
use Magento\Framework\DB\Select;
911

1012
/**
1113
* Modify query, add custom conditions
14+
*
15+
* @api
1216
*/
1317
interface QueryModifierInterface
1418
{

lib/internal/Magento/Framework/DB/Select/RendererInterface.php

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

78
namespace Magento\Framework\DB\Select;
89

910
use Magento\Framework\DB\Select;
1011

1112
/**
1213
* Interface RendererInterface
14+
*
15+
* @api
1316
*/
1417
interface RendererInterface
1518
{

lib/internal/Magento/Framework/DB/Sequence/SequenceInterface.php

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

810
/**
911
* Interface represents sequence
12+
*
13+
* @api
1014
*/
1115
interface SequenceInterface
1216
{

lib/internal/Magento/Framework/DB/Sql/ExpressionInterface.php

Lines changed: 7 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\Framework\DB\Sql;
79

810
/**
@@ -11,11 +13,15 @@
1113
* Defines interface was implemented in Zend_Db_Expr.
1214
* Interface for SQL Expressions for DB Adapter/Select.
1315
* By using this interface a developer can strictly control type for code that manages an Expression directly.
16+
*
17+
* @api
1418
*/
1519
interface ExpressionInterface
1620
{
1721
/**
18-
* @return string The string of the SQL expression stored in this object.
22+
* The string of the SQL expression stored in this object.
23+
*
24+
* @return string
1925
*/
2026
public function __toString();
2127
}

0 commit comments

Comments
 (0)