File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
app/code/Magento/Developer/Console/Command Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 17
17
use Magento \Framework \App \AreaList ;
18
18
use Magento \Framework \App \Area ;
19
19
20
+ /**
21
+ * @SuppressWarnings(PHPMD.CouplingBetweenObjects)
22
+ */
20
23
class DiInfoCommand extends Command
21
24
{
22
25
/**
23
26
* @var ObjectManagerInterface
24
27
*/
25
28
private ObjectManagerInterface $ objectManager ;
26
29
27
-
28
30
/**
29
31
* Command name
30
32
*/
@@ -52,14 +54,14 @@ class DiInfoCommand extends Command
52
54
53
55
/**
54
56
* @param Information $diInformation
55
- * @param AreaList $areaList
57
+ * @param ObjectManagerInterface $objectManager
58
+ * @param AreaList|null $areaList
56
59
*/
57
60
public function __construct (
58
61
Information $ diInformation ,
59
62
ObjectManagerInterface $ objectManager ,
60
63
?AreaList $ areaList = null
61
- )
62
- {
64
+ ) {
63
65
$ this ->diInformation = $ diInformation ;
64
66
$ this ->objectManager = $ objectManager ;
65
67
$ this ->areaList = $ areaList ?? \Magento \Framework \App \ObjectManager::getInstance ()->get (AreaList::class);
You can’t perform that action at this time.
0 commit comments