@@ -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\ConfigurationFactory; |
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; |
@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | * @param \TechDivision\Import\Cli\Command\ImportCommandInterface $command The command that tries to create the instance |
131 | 131 | * @param \Symfony\Component\Console\Input\InputInterface $input The Symfony console input instance |
132 | 132 | * |
133 | - * @return \TechDivision\Import\Cli\Configuration The configuration instance |
|
133 | + * @return \TechDivision\Import\Configuration\Jms\Configuration The configuration instance |
|
134 | 134 | * @throws \Exception Is thrown, if the specified configuration file doesn't exist or the mandatory arguments/options to run the requested operation are not available |
135 | 135 | */ |
136 | 136 | public static function load(ImportCommandInterface $command, InputInterface $input) |
@@ -348,7 +348,7 @@ discard block |
||
348 | 348 | * @param string $dir The path to the Magento root directory |
349 | 349 | * @param string $connectionName The connection name to return the data for |
350 | 350 | * |
351 | - * @return array The connection data |
|
351 | + * @return Database The connection data |
|
352 | 352 | * @throws \Exception Is thrown, if the requested DB connection is not available |
353 | 353 | */ |
354 | 354 | public static 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; |