Code style.

This commit is contained in:
David Molineus
2017-10-06 15:53:26 +02:00
parent 8eb9a22ae0
commit 1932937648
2 changed files with 2 additions and 1 deletions

View File

@@ -37,7 +37,7 @@ class RegisterEncodersPass implements CompilerPassInterface
$definition = $container->getDefinition('netzmacht.contao_leaflet_maps.definition.builder.event_dispatcher'); $definition = $container->getDefinition('netzmacht.contao_leaflet_maps.definition.builder.event_dispatcher');
$serviceIds = $container->findTaggedServiceIds('netzmacht.contao_leaflet_maps.encoder'); $serviceIds = $container->findTaggedServiceIds('netzmacht.contao_leaflet_maps.encoder');
foreach ($serviceIds as $serviceId => $tags) { foreach (array_keys($serviceIds) as $serviceId) {
$definition->addMethodCall('addSubscriber', [new Reference($serviceId)]); $definition->addMethodCall('addSubscriber', [new Reference($serviceId)]);
} }
} }

View File

@@ -60,6 +60,7 @@ class LoadAssetsListener
{ {
$this->assets = $assets; $this->assets = $assets;
$this->definitionMapper = $definitionMapper; $this->definitionMapper = $definitionMapper;
$this->libraries = $libraries;
} }
/** /**