mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2025-11-29 03:24:37 +01:00
Code style.
This commit is contained in:
@@ -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)]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -60,6 +60,7 @@ class LoadAssetsListener
|
|||||||
{
|
{
|
||||||
$this->assets = $assets;
|
$this->assets = $assets;
|
||||||
$this->definitionMapper = $definitionMapper;
|
$this->definitionMapper = $definitionMapper;
|
||||||
|
$this->libraries = $libraries;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user