Completed
Push — master ( 217ddc...8b75a3 )
by Kenneth
19:52
created
src/DoctrineMigrationsModule/Service/ConfigurationFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/DoctrineMigrationsModule/Module.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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);
Please login to merge, or discard this patch.