Skip to content

Commit 5b29414

Browse files
author
rostislav
committed
issue-38758 codestyle fixes ( static tests )
1 parent 0a20ef5 commit 5b29414

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

app/code/Magento/Developer/Console/Command/DiInfoCommand.php

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,16 @@
1717
use Magento\Framework\App\AreaList;
1818
use Magento\Framework\App\Area;
1919

20+
/**
21+
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
22+
*/
2023
class DiInfoCommand extends Command
2124
{
2225
/**
2326
* @var ObjectManagerInterface
2427
*/
2528
private ObjectManagerInterface $objectManager;
2629

27-
2830
/**
2931
* Command name
3032
*/
@@ -52,14 +54,14 @@ class DiInfoCommand extends Command
5254

5355
/**
5456
* @param Information $diInformation
55-
* @param AreaList $areaList
57+
* @param ObjectManagerInterface $objectManager
58+
* @param AreaList|null $areaList
5659
*/
5760
public function __construct(
5861
Information $diInformation,
5962
ObjectManagerInterface $objectManager,
6063
?AreaList $areaList = null
61-
)
62-
{
64+
) {
6365
$this->diInformation = $diInformation;
6466
$this->objectManager = $objectManager;
6567
$this->areaList = $areaList ?? \Magento\Framework\App\ObjectManager::getInstance()->get(AreaList::class);

0 commit comments

Comments
 (0)