@@ -24,12 +24,9 @@ |
||
24 | 24 | use Monolog\Handler\ErrorLogHandler; |
25 | 25 | use TechDivision\Import\Utils\LoggerKeys; |
26 | 26 | use TechDivision\Import\Utils\OperationKeys; |
27 | -use TechDivision\Import\App\Simple; |
|
28 | 27 | use TechDivision\Import\App\Utils\SynteticServiceKeys; |
29 | 28 | use TechDivision\Import\Cli\Utils\DependencyInjectionKeys; |
30 | 29 | use TechDivision\Import\Configuration\Jms\Configuration; |
31 | -use TechDivision\Import\Configuration\Jms\Configuration\Database; |
|
32 | -use TechDivision\Import\Configuration\Jms\Configuration\LoggerFactory; |
|
33 | 30 | use Symfony\Component\Config\FileLocator; |
34 | 31 | use Symfony\Component\Console\Command\Command; |
35 | 32 | use Symfony\Component\Console\Input\InputOption; |
@@ -405,7 +405,7 @@ |
||
405 | 405 | * @param string $dir The path to the Magento root directory |
406 | 406 | * @param string $connectionName The connection name to return the data for |
407 | 407 | * |
408 | - * @return array The connection data |
|
408 | + * @return Database The connection data |
|
409 | 409 | * @throws \Exception Is thrown, if the requested DB connection is not available |
410 | 410 | */ |
411 | 411 | public function getMagentoDbConnection($dir, $connectionName = 'default') |
@@ -22,7 +22,6 @@ |
||
22 | 22 | |
23 | 23 | use Psr\Log\LogLevel; |
24 | 24 | use Rhumsaa\Uuid\Uuid; |
25 | -use TechDivision\Import\App\Simple; |
|
26 | 25 | use Symfony\Component\Console\Input\InputInterface; |
27 | 26 | use TechDivision\Import\Utils\EntityTypeCodes; |
28 | 27 | use TechDivision\Import\Cli\Command\InputOptionKeys; |