From e513edcd3b00bc805e7c8c0bd673e1afbb691c3a Mon Sep 17 00:00:00 2001 From: David Molineus Date: Fri, 6 Oct 2017 15:00:56 +0200 Subject: [PATCH] Use Contao vendor namespace. --- src/Frontend/AbstractMapHybrid.php | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/src/Frontend/AbstractMapHybrid.php b/src/Frontend/AbstractMapHybrid.php index c7c71f1..ac83fb6 100644 --- a/src/Frontend/AbstractMapHybrid.php +++ b/src/Frontend/AbstractMapHybrid.php @@ -14,8 +14,11 @@ declare(strict_types=1); namespace Netzmacht\Contao\Leaflet\Frontend; -use Database\Result; -use Model\Collection; +use Contao\Config; +use Contao\Database\Result; +use Contao\Input; +use Contao\Model; +use Contao\Model\Collection; use Netzmacht\Contao\Leaflet\MapProvider; use Netzmacht\Contao\Leaflet\Model\MapModel; use Netzmacht\Contao\Toolkit\Component\Hybrid\AbstractHybrid; @@ -53,21 +56,21 @@ abstract class AbstractMapHybrid extends AbstractHybrid /** * HybridTrait constructor. * - * @param Result|\Model|Collection $model Component model. - * @param TemplateFactory $templateFactory Template factory. - * @param Translator $translator Translator. - * @param MapProvider $mapProvider Map provider. - * @param \Input $input Request Input. - * @param \Config $config Config. - * @param string $column Column in which the element appears. + * @param Result|Model|Collection $model Component model. + * @param TemplateFactory $templateFactory Template factory. + * @param Translator $translator Translator. + * @param MapProvider $mapProvider Map provider. + * @param Input $input Request Input. + * @param Config $config Config. + * @param string $column Column in which the element appears. */ public function __construct( $model, TemplateFactory $templateFactory, Translator $translator, MapProvider $mapProvider, - \Input $input, - \Config $config, + Input $input, + Config $config, $column = null ) { parent::__construct($model, $templateFactory, $translator, $column);