@@ -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; |
@@ -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; |
@@ -170,7 +170,7 @@ discard block |
||
170 | 170 | * @param \Symfony\Component\Console\Input\InputInterface $input The Symfony console input instance |
171 | 171 | * @param string $entityTypeCode The entity type code to use |
172 | 172 | * |
173 | - * @return \TechDivision\Import\Cli\Configuration The configuration instance |
|
173 | + * @return \TechDivision\Import\ConfigurationInterface The configuration instance |
|
174 | 174 | * @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 |
175 | 175 | */ |
176 | 176 | public function load(InputInterface $input, $entityTypeCode) |
@@ -443,7 +443,7 @@ discard block |
||
443 | 443 | * @param string $dir The path to the Magento root directory |
444 | 444 | * @param string $connectionName The connection name to return the data for |
445 | 445 | * |
446 | - * @return array The connection data |
|
446 | + * @return Database The connection data |
|
447 | 447 | * @throws \Exception Is thrown, if the requested DB connection is not available |
448 | 448 | */ |
449 | 449 | public function getMagentoDbConnection($dir, $connectionName = 'default') |