Skip to content

Commit 1c89f07

Browse files
author
Ivan Gavryshko
committed
MAGETWO-35133: Search for Commands
- fix accordong to CR.
1 parent d66197f commit 1c89f07

File tree

1 file changed

+1
-4
lines changed
  • lib/internal/Magento/Framework

1 file changed

+1
-4
lines changed

lib/internal/Magento/Framework/Cli.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,7 @@ protected function getApplicationCommands()
6060
}
6161

6262
if ($objectManager->get('Magento\Framework\App\DeploymentConfig')->isAvailable()) {
63-
$commandList = $objectManager->create(
64-
'Magento\Framework\Console\CommandList',
65-
['objectManager'=>$objectManager]
66-
);
63+
$commandList = $objectManager->create('Magento\Framework\Console\CommandList');
6764

6865
$modulesCommands = $commandList->getCommands();
6966

0 commit comments

Comments
 (0)