Skip to content

Commit

Permalink
variable
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Feb 22, 2018
1 parent 5955871 commit d2780b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ public function init(ModuleManager $moduleManager) : void

public function convertDoctrineToZendDbService(ModuleEvent $event) : void
{
$services = $event->getParam('ServiceManager');
if (! $services->has(EntityManager::class)) {
$container = $event->getParam('ServiceManager');
if (! $container->has(EntityManager::class)) {
return;
}

Expand All @@ -37,7 +37,7 @@ public function convertDoctrineToZendDbService(ModuleEvent $event) : void
return;
}

Transformer\DoctrineToZendDb::transform($services, $configuration);
Transformer\DoctrineToZendDb::transform($container, $configuration);
}

public function errorPreviewPageHandler(ModuleEvent $event) : void
Expand Down

0 comments on commit d2780b2

Please sign in to comment.