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 1717use Magento \Framework \App \AreaList ;
1818use Magento \Framework \App \Area ;
1919
20+ /**
21+ * @SuppressWarnings(PHPMD.CouplingBetweenObjects)
22+ */
2023class 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);
You can’t perform that action at this time.
0 commit comments