Skip to content

Commit 4666ac0

Browse files
committed
remove some wrongs tags
1 parent da555dd commit 4666ac0

File tree

12 files changed

+13
-42
lines changed

12 files changed

+13
-42
lines changed

app/code/Magento/Authorization/Setup/Patch/Data/InitializeAuthRoles.php

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66

77
namespace Magento\Authorization\Setup\Patch\Data;
88

9+
use Magento\Authorization\Model\ResourceModel\Role;
10+
use Magento\Authorization\Model\Rules;
11+
use Magento\Authorization\Setup\AuthorizationFactory;
912
use Magento\Framework\App\ResourceConnection;
1013
use Magento\Framework\Setup\ModuleDataSetupInterface;
1114
use Magento\Framework\Setup\Patch\DataPatchInterface;
@@ -14,8 +17,7 @@
1417
use Magento\Authorization\Model\UserContextInterface;
1518

1619
/**
17-
* Class InitializeAuthRoles
18-
* @package Magento\Authorization\Setup\Patch
20+
* Class for Initialize Auth Roles
1921
*/
2022
class InitializeAuthRoles implements DataPatchInterface, PatchVersionInterface
2123
{
@@ -25,25 +27,24 @@ class InitializeAuthRoles implements DataPatchInterface, PatchVersionInterface
2527
private $moduleDataSetup;
2628

2729
/**
28-
* @var \Magento\Authorization\Setup\AuthorizationFactory
30+
* @var AuthorizationFactory
2931
*/
3032
private $authFactory;
3133

3234
/**
33-
* InitializeAuthRoles constructor.
3435
* @param ModuleDataSetupInterface $moduleDataSetup
35-
* @param \Magento\Authorization\Setup\AuthorizationFactory $authorizationFactory
36+
* @param AuthorizationFactory $authorizationFactory
3637
*/
3738
public function __construct(
3839
ModuleDataSetupInterface $moduleDataSetup,
39-
\Magento\Authorization\Setup\AuthorizationFactory $authorizationFactory
40+
AuthorizationFactory $authorizationFactory
4041
) {
4142
$this->moduleDataSetup = $moduleDataSetup;
4243
$this->authFactory = $authorizationFactory;
4344
}
4445

4546
/**
46-
* {@inheritdoc}
47+
* @inheritdoc
4748
*/
4849
public function apply()
4950
{
@@ -68,7 +69,7 @@ public function apply()
6869
]
6970
)->save();
7071
} else {
71-
/** @var \Magento\Authorization\Model\ResourceModel\Role $item */
72+
/** @var Role $item */
7273
foreach ($roleCollection as $item) {
7374
$admGroupRole = $item;
7475
break;
@@ -89,7 +90,7 @@ public function apply()
8990
]
9091
)->save();
9192
} else {
92-
/** @var \Magento\Authorization\Model\Rules $rule */
93+
/** @var Rules $rule */
9394
foreach ($rulesCollection as $rule) {
9495
$rule->setData('resource_id', 'Magento_Backend::all')->save();
9596
}
@@ -108,23 +109,23 @@ public function apply()
108109
}
109110

110111
/**
111-
* {@inheritdoc}
112+
* @inheritdoc
112113
*/
113114
public static function getDependencies()
114115
{
115116
return [];
116117
}
117118

118119
/**
119-
* {@inheritdoc}
120+
* @inheritdoc
120121
*/
121122
public static function getVersion()
122123
{
123124
return '2.0.0';
124125
}
125126

126127
/**
127-
* {@inheritdoc}
128+
* @inheritdoc
128129
*/
129130
public function getAliases()
130131
{

app/code/Magento/CatalogInventory/Model/Indexer/Stock/AbstractAction.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?php
22
/**
3-
* @category Magento
4-
* @package Magento_CatalogInventory
53
* Copyright © Magento, Inc. All rights reserved.
64
* See COPYING.txt for license details.
75
*/

app/code/Magento/CatalogInventory/Model/Indexer/Stock/Action/Full.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?php
22
/**
3-
* @category Magento
4-
* @package Magento_CatalogInventory
53
* Copyright © Magento, Inc. All rights reserved.
64
* See COPYING.txt for license details.
75
*/

app/code/Magento/CatalogInventory/Model/Indexer/Stock/Action/Row.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?php
22
/**
3-
* @category Magento
4-
* @package Magento_CatalogInventory
53
* Copyright © Magento, Inc. All rights reserved.
64
* See COPYING.txt for license details.
75
*/
@@ -10,8 +8,6 @@
108

119
/**
1210
* Class Row reindex action
13-
*
14-
* @package Magento\CatalogInventory\Model\Indexer\Stock\Action
1511
*/
1612
class Row extends \Magento\CatalogInventory\Model\Indexer\Stock\AbstractAction
1713
{

app/code/Magento/CatalogInventory/Model/Indexer/Stock/Action/Rows.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?php
22
/**
3-
* @category Magento
4-
* @package Magento_CatalogInventory
53
* Copyright © Magento, Inc. All rights reserved.
64
* See COPYING.txt for license details.
75
*/
@@ -10,8 +8,6 @@
108

119
/**
1210
* Class Rows reindex action for mass actions
13-
*
14-
* @package Magento\CatalogInventory\Model\Indexer\Stock\Action
1511
*/
1612
class Rows extends \Magento\CatalogInventory\Model\Indexer\Stock\AbstractAction
1713
{

app/code/Magento/CatalogInventory/Model/Indexer/Stock/CacheCleaner.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?php
22
/**
3-
* @category Magento
4-
* @package Magento_CatalogInventory
53
* Copyright © Magento, Inc. All rights reserved.
64
* See COPYING.txt for license details.
75
*/

app/code/Magento/CatalogInventory/Model/Indexer/Stock/Processor.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?php
22
/**
3-
* @category Magento
4-
* @package Magento_CatalogInventory
53
* Copyright © Magento, Inc. All rights reserved.
64
* See COPYING.txt for license details.
75
*/

app/code/Magento/CatalogInventory/Test/Unit/Model/Indexer/Stock/Action/FullTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22
/**
3-
* @category Magento
4-
* @package Magento_CatalogInventory
5-
* @subpackage unit_tests
63
* Copyright © Magento, Inc. All rights reserved.
74
* See COPYING.txt for license details.
85
*/

app/code/Magento/CatalogInventory/Test/Unit/Model/Indexer/Stock/Action/RowTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22
/**
3-
* @category Magento
4-
* @package Magento_CatalogInventory
5-
* @subpackage unit_tests
63
* Copyright © Magento, Inc. All rights reserved.
74
* See COPYING.txt for license details.
85
*/

app/code/Magento/CatalogInventory/Test/Unit/Model/Indexer/Stock/Action/RowsTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22
/**
3-
* @category Magento
4-
* @package Magento_CatalogInventory
5-
* @subpackage unit_tests
63
* Copyright © Magento, Inc. All rights reserved.
74
* See COPYING.txt for license details.
85
*/

app/code/Magento/CatalogInventory/Test/Unit/Model/Indexer/Stock/Plugin/StoreGroupTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22
/**
3-
* @category Magento
4-
* @package Magento_CatalogInventory
5-
* @subpackage unit_tests
63
* Copyright © Magento, Inc. All rights reserved.
74
* See COPYING.txt for license details.
85
*/

app/code/Magento/Sales/Block/Adminhtml/Order/View.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?php
22
/**
3-
* @category Magento
4-
* @package Magento_Sales
53
* Copyright © Magento, Inc. All rights reserved.
64
* See COPYING.txt for license details.
75
*/

0 commit comments

Comments
 (0)