@@ -13,7 +13,7 @@ |
||
| 13 | 13 | * Create service |
| 14 | 14 | * |
| 15 | 15 | * @param ServiceLocatorInterface $serviceLocator |
| 16 | - * @return mixed |
|
| 16 | + * @return Configuration |
|
| 17 | 17 | */ |
| 18 | 18 | public function createService(ServiceLocatorInterface $serviceLocator) |
| 19 | 19 | { |
@@ -26,7 +26,7 @@ discard block |
||
| 26 | 26 | $events = $application->getEventManager()->getSharedManager(); |
| 27 | 27 | $configuration = $application->getServiceManager()->get('doctrine.migrations.configuration'); |
| 28 | 28 | // Attach to helper set event and load the entity manager helper. |
| 29 | - $events->attach('doctrine', 'loadCli.post', function (EventInterface $e) { |
|
| 29 | + $events->attach('doctrine', 'loadCli.post', function(EventInterface $e) { |
|
| 30 | 30 | $sm = $e->getParam('ServiceManager'); |
| 31 | 31 | |
| 32 | 32 | /* @var $cli \Symfony\Component\Console\Application */ |
@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | ); |
| 42 | 42 | |
| 43 | 43 | $configuration = $sm->get('doctrine.migrations.configuration'); |
| 44 | - foreach($commands AS $command) { |
|
| 44 | + foreach ($commands AS $command) { |
|
| 45 | 45 | $command->setMigrationConfiguration($configuration); |
| 46 | 46 | } |
| 47 | 47 | $cli->addCommands($commands); |