Skip to content

Commit 15747ff

Browse files
author
Bohdan Korablov
committed
MAGETWO-54716: Unable to setup Magento via web installer
1 parent 0492e89 commit 15747ff

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

app/code/Magento/SampleData/Console/Command/SampleDataDeployCommand.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121

2222
/**
2323
* Command for deployment of Sample Data
24+
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
2425
*/
2526
class SampleDataDeployCommand extends Command
2627
{
@@ -34,6 +35,12 @@ class SampleDataDeployCommand extends Command
3435
*/
3536
private $sampleDataDependency;
3637

38+
/**
39+
* @var ArrayInputFactory
40+
* @deprecated
41+
*/
42+
private $arrayInputFactory;
43+
3744
/**
3845
* @var ApplicationFactory
3946
*/
@@ -44,7 +51,6 @@ class SampleDataDeployCommand extends Command
4451
* @param Dependency $sampleDataDependency
4552
* @param ArrayInputFactory $arrayInputFactory
4653
* @param ApplicationFactory $applicationFactory
47-
* @SuppressWarnings(PHPMD.UnusedLocalVariable)
4854
*/
4955
public function __construct(
5056
Filesystem $filesystem,
@@ -54,6 +60,7 @@ public function __construct(
5460
) {
5561
$this->filesystem = $filesystem;
5662
$this->sampleDataDependency = $sampleDataDependency;
63+
$this->arrayInputFactory = $arrayInputFactory;
5764
$this->applicationFactory = $applicationFactory;
5865
parent::__construct();
5966
}

0 commit comments

Comments
 (0)