Skip to content

Commit 083cd84

Browse files
author
Gabriel Galvao da Gama
committed
Merge branch '32129-api-changes' into api-changes-delivery
2 parents 4ad4556 + d085de8 commit 083cd84

File tree

22 files changed

+66
-0
lines changed

22 files changed

+66
-0
lines changed

app/code/Magento/Customer/Controller/RegistryConstants.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\Customer\Controller;
79

810
/**
911
* Declarations of core registry keys used by the Customer module
1012
*
13+
* @api
1114
*/
1215
class RegistryConstants
1316
{

app/code/Magento/Customer/Model/Context.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\Customer\Model;
79

10+
/**
11+
* Class Context
12+
*
13+
* @api
14+
*/
815
class Context
916
{
1017
/**

app/code/Magento/Sales/Model/ResourceModel/Order/Collection/Factory.php

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

810
/**
11+
* Class Factory
12+
*
913
* @api
1014
*/
1115
class Factory

app/code/Magento/Sales/Model/ResourceModel/Order/CollectionFactory.php

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

99
/**
1010
* Class CollectionFactory
11+
*
12+
* @api
1113
*/
1214
class CollectionFactory implements CollectionFactoryInterface
1315
{

app/code/Magento/Shipping/Model/Carrier/CarrierInterface.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\Shipping\Model\Carrier;
79

810
/**
911
* Interface \Magento\Shipping\Model\Carrier\CarrierInterface
1012
*
13+
* @api
1114
*/
1215
interface CarrierInterface
1316
{

app/code/Magento/Ui/Component/Layout/Tabs/TabInterface.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\Ui\Component\Layout\Tabs;
79

810
/**

app/code/Magento/Widget/Block/BlockInterface.php

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

78
/**
89
* Widget Block Interface
910
*
1011
* @author Magento Core Team <[email protected]>
12+
* @api
1113
*/
1214
namespace Magento\Widget\Block;
1315

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +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\Api;
79

810
/**
911
* Base Class for simple data Objects
1012
* @SuppressWarnings(PHPMD.NumberOfChildren)
13+
*
14+
* @api
1115
*/
1216
abstract class AbstractSimpleObject
1317
{

lib/internal/Magento/Framework/App/Filesystem/DirectoryList.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\App\Filesystem;
79

810
use Magento\Framework\Code\Generator\Io;
911

1012
/**
1113
* A Magento application specific list of directories
14+
*
15+
* @api
1216
*/
1317
class DirectoryList extends \Magento\Framework\Filesystem\DirectoryList
1418
{

lib/internal/Magento/Framework/App/Http/Context.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,17 @@
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\App\Http;
79

810
use Magento\Framework\App\ObjectManager;
911
use Magento\Framework\Serialize\Serializer\Json;
1012

1113
/**
1214
* Context data for requests
15+
*
16+
* @api
1317
*/
1418
class Context
1519
{

lib/internal/Magento/Framework/App/Response/Http/FileFactory.php

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

1212
/**
1313
* Class FileFactory serves to declare file content in response for download.
14+
*
15+
* @api
1416
*/
1517
class FileFactory
1618
{

lib/internal/Magento/Framework/Controller/Result/JsonFactory.php

Lines changed: 1 addition & 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\Framework\Controller\Result;
89

lib/internal/Magento/Framework/Controller/Result/Raw.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\Framework\Controller\Result;
89

@@ -12,6 +13,8 @@
1213
/**
1314
* A result that contains raw response - may be good for passing through files,
1415
* returning result of downloads or some other binary contents
16+
*
17+
* @api
1518
*/
1619
class Raw extends AbstractResult
1720
{

lib/internal/Magento/Framework/Data/FormFactory.php

Lines changed: 1 addition & 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\Framework\Data;
89

lib/internal/Magento/Framework/Filesystem/DirectoryList.php

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

1213
namespace Magento\Framework\Filesystem;
1314

@@ -21,6 +22,8 @@
2122
* This object is intended to be immutable (a "value object").
2223
* The defaults are pre-defined and can be modified only by inheritors of this class.
2324
* Through the constructor, it is possible to inject custom paths or URL paths, but impossible to inject new types.
25+
*
26+
* @api
2427
*/
2528
class DirectoryList
2629
{

lib/internal/Magento/Framework/Logger/Handler/Base.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\Framework\Logger\Handler;
89

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

1415
/**
1516
* Base stream handler
17+
*
18+
* @api
1619
*/
1720
class Base extends StreamHandler
1821
{

lib/internal/Magento/Framework/View/Element/Html/Select.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\View\Element\Html;
79

810
/**
911
* HTML select element block
12+
*
13+
* @api
1014
*/
1115
class Select extends \Magento\Framework\View\Element\AbstractBlock
1216
{

lib/internal/Magento/Framework/View/Element/UiComponent/ContextInterface.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\View\Element\UiComponent;
79

810
use Magento\Framework\View\Element\UiComponentInterface;

lib/internal/Magento/Framework/View/Element/UiComponent/Control/ButtonProviderInterface.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\View\Element\UiComponent\Control;
79

810
/**

lib/internal/Magento/Framework/View/Element/UiComponent/DataProvider/DataProvider.php

Lines changed: 4 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\View\Element\UiComponent\DataProvider;
79

810
use Magento\Framework\Api\FilterBuilder;
@@ -14,6 +16,8 @@
1416

1517
/**
1618
* Class DataProvider
19+
*
20+
* @api
1721
*/
1822
class DataProvider implements DataProviderInterface
1923
{

lib/internal/Magento/Framework/View/Element/UiComponent/DataProvider/SearchResult.php

Lines changed: 2 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\Framework\View\Element\UiComponent\DataProvider;
89

@@ -19,6 +20,7 @@
1920
* Class SearchResult
2021
* Generic Search Result
2122
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
23+
* @api
2224
*/
2325
class SearchResult extends AbstractCollection implements Api\Search\SearchResultInterface
2426
{

lib/internal/Magento/Framework/View/LayoutFactory.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\View;
79

810
/**
911
* Factory class for Layout
12+
*
13+
* @api
1014
*/
1115
class LayoutFactory
1216
{

0 commit comments

Comments
 (0)