Skip to content

Commit 00c1839

Browse files
committed
MAGETWO-55357: Portdown MAGETWO-53777 down to M2.1.x branch
1 parent 73be107 commit 00c1839

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

setup/src/Magento/Setup/Console/Command/UpgradeCommand.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
use Magento\Framework\Setup\ConsoleLogger;
99
use Magento\Setup\Model\InstallerFactory;
10+
use Magento\Setup\Model\ObjectManagerProvider;
1011
use Symfony\Component\Console\Input\InputInterface;
1112
use Symfony\Component\Console\Input\InputOption;
1213
use Symfony\Component\Console\Output\OutputInterface;
@@ -32,8 +33,9 @@ class UpgradeCommand extends AbstractSetupCommand
3233
* Constructor
3334
*
3435
* @param InstallerFactory $installerFactory
36+
* @param ObjectManagerProvider $objectManagerProvider
3537
*/
36-
public function __construct(InstallerFactory $installerFactory)
38+
public function __construct(InstallerFactory $installerFactory, ObjectManagerProvider $objectManagerProvider)
3739
{
3840
$this->installerFactory = $installerFactory;
3941
parent::__construct();

0 commit comments

Comments
 (0)