Skip to content

Commit 283dc5c

Browse files
author
Gabriel Galvao da Gama
committed
Merge remote-tracking branch 'magento-engcom/imported-magento-magento2-32686' into api-changes-delivery
2 parents 34e8722 + 4c76208 commit 283dc5c

File tree

14 files changed

+55
-3
lines changed

14 files changed

+55
-3
lines changed

app/code/Magento/Catalog/Model/Layer/Resolver.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,16 @@
44
* Copyright © Magento, Inc. All rights reserved.
55
* See COPYING.txt for license details.
66
*/
7+
8+
declare(strict_types=1);
9+
710
namespace Magento\Catalog\Model\Layer;
811

12+
/**
13+
* Layer Resolver
14+
*
15+
* @api
16+
*/
917
class Resolver
1018
{
1119
const CATALOG_LAYER_CATEGORY = 'category';

app/code/Magento/Sales/Setup/SalesSetup.php

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

811
use Magento\Eav\Model\Entity\Setup\Context;
@@ -19,6 +22,7 @@
1922
*
2023
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
2124
* @codeCoverageIgnore
25+
* @api
2226
*/
2327
class SalesSetup extends EavSetup
2428
{

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,16 @@
44
* See COPYING.txt for license details.
55
*/
66

7+
declare(strict_types=1);
8+
79
namespace Magento\Framework\Api;
810

911
use Magento\Framework\Api\Search\FilterGroupBuilder;
1012

1113
/**
1214
* Builder for SearchCriteria Service Data Object
15+
*
16+
* @api
1317
*/
1418
class SearchCriteriaBuilder extends AbstractSimpleObjectBuilder
1519
{

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
* See COPYING.txt for license details.
55
*/
66

7+
declare(strict_types=1);
8+
79
namespace Magento\Framework\App;
810

911
use Magento\Framework\ObjectManager\ConfigLoaderInterface;
@@ -12,6 +14,7 @@
1214
* Application area model
1315
*
1416
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
17+
* @api
1518
*/
1619
class Area implements \Magento\Framework\App\AreaInterface
1720
{

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
/**
2020
* Http request
2121
*
22-
* @api
2322
* @SuppressWarnings(PHPMD.CookieAndSessionMisuse)
23+
* @api
2424
*/
2525
class Http extends Request implements RequestContentInterface, RequestSafetyInterface, HttpRequestInterface
2626
{

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,19 @@
44
* See COPYING.txt for license details.
55
*/
66

7+
declare(strict_types=1);
8+
79
namespace Magento\Framework\Controller\Result;
810

911
use Magento\Framework\App\RequestInterface;
1012
use Magento\Framework\App\Response\HttpInterface as HttpResponseInterface;
1113
use Magento\Framework\Controller\AbstractResult;
1214

15+
/**
16+
* Forward Controller Result
17+
*
18+
* @api
19+
*/
1320
class Forward extends AbstractResult
1421
{
1522
/**

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

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

811
/**
912
* DB transaction model
1013
*
14+
* @api
15+
*
1116
* @todo need collect connection by name
1217
*/
1318
class Transaction

lib/internal/Magento/Framework/DataObject/Factory.php

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

811
/**
12+
* Class Factory
13+
*
914
* @api
1015
*/
1116
class Factory

lib/internal/Magento/Framework/File/Csv.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,16 @@
44
* See COPYING.txt for license details.
55
*/
66

7+
declare(strict_types=1);
8+
79
namespace Magento\Framework\File;
810

911
use Magento\Framework\Filesystem\Driver\File;
1012

1113
/**
1214
* Csv parse
1315
*
14-
* @author Magento Core Team <core@magentocommerce.com>
16+
* @api
1517
*/
1618
class Csv
1719
{

lib/internal/Magento/Framework/Filesystem/Io/File.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
* Filesystem client
1414
*
1515
* @SuppressWarnings(PHPMD.ExcessiveClassComplexity)
16+
* @api
1617
*/
1718
class File extends AbstractIo
1819
{
@@ -441,7 +442,7 @@ public function cd($dir)
441442
public function read($filename, $dest = null)
442443
{
443444
$result = false;
444-
445+
445446
$this->_cwd();
446447
if ($dest === null) {
447448
$result = @file_get_contents($filename);

0 commit comments

Comments
 (0)