Skip to content

Commit a227f92

Browse files
Fixed static tests failures
1 parent a45a0f5 commit a227f92

File tree

4 files changed

+19
-21
lines changed

4 files changed

+19
-21
lines changed

app/code/Magento/CatalogInventory/Model/ResourceModel/Stock/Status/StockStatusCriteria.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2017 Adobe
4+
* All Rights Reserved.
55
*/
66

77
namespace Magento\CatalogInventory\Model\ResourceModel\Stock\Status;

app/code/Magento/CatalogInventory/Model/StockRegistry.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2017 Adobe
4+
* All Rights Reserved.
55
*/
66

77
namespace Magento\CatalogInventory\Model;
@@ -153,7 +153,7 @@ public function getProductStockStatus($productId, $scopeId = null)
153153
* Get Product Stock status by SKU
154154
*
155155
* @param string $productSku
156-
* @param null $scopeId
156+
* @param null|int $scopeId
157157
* @return int
158158
* @throws \Magento\Framework\Exception\NoSuchEntityException
159159
*/

app/code/Magento/CatalogInventory/Setup/Patch/Data/CreateDefaultStock.php

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2018 Adobe
4+
* All Rights Reserved.
55
*/
66

77
namespace Magento\CatalogInventory\Setup\Patch\Data;
@@ -13,8 +13,7 @@
1313
use Magento\Framework\Setup\Patch\PatchVersionInterface;
1414

1515
/**
16-
* Class CreateDefaultStock
17-
* @package Magento\CatalogInventory\Setup\Patch
16+
* Class CreateDefaultStock patch
1817
*/
1918
class CreateDefaultStock implements DataPatchInterface, PatchVersionInterface
2019
{
@@ -42,7 +41,7 @@ public function __construct(
4241
}
4342

4443
/**
45-
* {@inheritdoc}
44+
* @inheritdoc
4645
*/
4746
public function apply()
4847
{
@@ -65,23 +64,23 @@ public function apply()
6564
}
6665

6766
/**
68-
* {@inheritdoc}
67+
* @inheritdoc
6968
*/
7069
public static function getDependencies()
7170
{
7271
return [];
7372
}
7473

7574
/**
76-
* {@inheritdoc}
75+
* @inheritdoc
7776
*/
7877
public static function getVersion()
7978
{
8079
return '2.0.0';
8180
}
8281

8382
/**
84-
* {@inheritdoc}
83+
* @inheritdoc
8584
*/
8685
public function getAliases()
8786
{

app/code/Magento/CatalogInventory/Setup/Patch/Data/UpdateStockItemsWebsite.php

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2018 Adobe
4+
* All Rights Reserved.
55
*/
66

77
namespace Magento\CatalogInventory\Setup\Patch\Data;
@@ -12,8 +12,7 @@
1212
use Magento\Framework\Setup\Patch\PatchVersionInterface;
1313

1414
/**
15-
* Class UpdateStockItemsWebsite
16-
* @package Magento\CatalogInventory\Setup\Patch
15+
* Class UpdateStockItemsWebsite patch
1716
*/
1817
class UpdateStockItemsWebsite implements DataPatchInterface, PatchVersionInterface
1918
{
@@ -57,7 +56,7 @@ public function __construct(
5756
}
5857

5958
/**
60-
* {@inheritdoc}
59+
* @inheritdoc
6160
*/
6261
public function apply()
6362
{
@@ -70,7 +69,7 @@ public function apply()
7069
}
7170

7271
/**
73-
* {@inheritdoc}
72+
* @inheritdoc
7473
*/
7574
public static function getDependencies()
7675
{
@@ -80,15 +79,15 @@ public static function getDependencies()
8079
}
8180

8281
/**
83-
* {@inheritdoc}
82+
* @inheritdoc
8483
*/
8584
public static function getVersion()
8685
{
8786
return '2.2.0';
8887
}
8988

9089
/**
91-
* {@inheritdoc}
90+
* @inheritdoc
9291
*/
9392
public function getAliases()
9493
{

0 commit comments

Comments
 (0)