mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2025-11-28 11:04:08 +01:00
Loose type hints to support the adapters.
This commit is contained in:
@@ -69,8 +69,8 @@ abstract class AbstractMapHybrid extends AbstractHybrid
|
||||
TemplateFactory $templateFactory,
|
||||
Translator $translator,
|
||||
MapProvider $mapProvider,
|
||||
Input $input,
|
||||
Config $config,
|
||||
$input,
|
||||
$config,
|
||||
$column = null
|
||||
) {
|
||||
parent::__construct($model, $templateFactory, $translator, $column);
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
|
||||
namespace Netzmacht\Contao\Leaflet;
|
||||
|
||||
use Contao\Input;
|
||||
use Doctrine\Common\Cache\Cache;
|
||||
use Netzmacht\Contao\Leaflet\Event\GetJavascriptEvent;
|
||||
use Netzmacht\Contao\Leaflet\Filter\Filter;
|
||||
@@ -94,7 +95,7 @@ class MapProvider
|
||||
* @param DefinitionMapper $mapper The definition mapper.
|
||||
* @param Leaflet $leaflet The Leaflet instance.
|
||||
* @param EventDispatcher $eventDispatcher The Contao event dispatcher.
|
||||
* @param \Input $input Thw request input.
|
||||
* @param Input $input Thw request input.
|
||||
* @param ContaoAssets $assets Assets handler.
|
||||
* @param Cache $cache Cache.
|
||||
* @param array $filters Request filters configuration.
|
||||
@@ -104,7 +105,7 @@ class MapProvider
|
||||
DefinitionMapper $mapper,
|
||||
Leaflet $leaflet,
|
||||
EventDispatcher $eventDispatcher,
|
||||
\Input $input,
|
||||
$input,
|
||||
ContaoAssets $assets,
|
||||
Cache $cache,
|
||||
array $filters,
|
||||
|
||||
@@ -14,7 +14,7 @@ services:
|
||||
- '@netzmacht.contao_toolkit.contao.input'
|
||||
- '@netzmacht.contao_leaflet_maps.map.assets'
|
||||
- '@netzmacht.contao_leaflet_maps.cache'
|
||||
- '' # TODO: Rework filter handling.
|
||||
- [] # TODO: Rework filter handling.
|
||||
- '%kernel.debug%'
|
||||
|
||||
netzmacht.contao_leaflet_maps.cache:
|
||||
|
||||
Reference in New Issue
Block a user