Skip to content

Commit d0afdf9

Browse files
author
Gabriel Galvao da Gama
committed
Merge remote-tracking branch 'magento-engcom/imported-magento-magento2-32140' into api-changes-delivery
2 parents 0a31d50 + 68ff23a commit d0afdf9

35 files changed

+110
-26
lines changed

lib/internal/Magento/Framework/App/CsrfAwareActionInterface.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
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\App;
@@ -12,6 +11,8 @@
1211

1312
/**
1413
* Action that's aware of CSRF protection.
14+
*
15+
* @api
1516
*/
1617
interface CsrfAwareActionInterface extends ActionInterface
1718
{

lib/internal/Magento/Framework/App/DefaultPathInterface.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
<?php
22
/**
3-
* Abstract application router
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\App;
99

1010
/**
1111
* Interface \Magento\Framework\App\DefaultPathInterface
12+
* Abstract application router
1213
*
14+
* @api
1315
*/
1416
interface DefaultPathInterface
1517
{

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

810
use Magento\Framework\Exception\State\InvalidTransitionException;
911

1012
/**
1113
* Interface for importers which import data from shared configuration files to appropriate data storage.
14+
*
15+
* @api
1216
*/
1317
interface ImporterInterface
1418
{

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

810
/**
911
* Validator interface for section data from shared configuration files.
12+
*
13+
* @api
1014
*/
1115
interface ValidatorInterface
1216
{

lib/internal/Magento/Framework/App/DeploymentConfig/Writer/FormatterInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +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\App\DeploymentConfig\Writer;
89

910
/**
1011
* Interface \Magento\Framework\App\DeploymentConfig\Writer\FormatterInterface
1112
*
13+
* @api
1214
*/
1315
interface FormatterInterface
1416
{

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

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

lib/internal/Magento/Framework/App/EnvironmentInterface.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\App;
89

@@ -12,6 +13,8 @@
1213

1314
/**
1415
* Interface for ObjectManager Environment
16+
*
17+
* @api
1518
*/
1619
interface EnvironmentInterface
1720
{

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

810
use Magento\Framework\App\Response\Http as ResponseHttp;
911
use Magento\Framework\App\Request\Http as RequestHttp;
1012

1113
/**
1214
* Interface ExceptionHandler
15+
*
16+
* @api
1317
*/
1418
interface ExceptionHandlerInterface
1519
{

lib/internal/Magento/Framework/App/FeedFactoryInterface.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
/**
1111
* Feed factory interface
12+
*
13+
* @api
1214
*/
1315
interface FeedFactoryInterface
1416
{
@@ -26,5 +28,5 @@ interface FeedFactoryInterface
2628
* @param string $format
2729
* @return FeedInterface
2830
*/
29-
public function create(array $data, string $format = self::FORMAT_RSS) : FeedInterface;
31+
public function create(array $data, string $format = self::FORMAT_RSS): FeedInterface;
3032
}

lib/internal/Magento/Framework/App/FeedInterface.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
/**
1111
* Feed interface
12+
*
13+
* @api
1214
*/
1315
interface FeedInterface
1416
{
@@ -17,5 +19,5 @@ interface FeedInterface
1719
*
1820
* @return string
1921
*/
20-
public function getFormattedContent() : string;
22+
public function getFormattedContent(): string;
2123
}

0 commit comments

Comments
 (0)