From d4992698e42fbc21f8a233b21bd8a58944d449ee Mon Sep 17 00:00:00 2001 From: werrolf Date: Thu, 2 Dec 2021 12:36:50 +0100 Subject: [PATCH] Fix incompatibility with current doctrine versions --- Element/CoordinatesUtility.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Element/CoordinatesUtility.php b/Element/CoordinatesUtility.php index 2bc1f22..1c56cc2 100644 --- a/Element/CoordinatesUtility.php +++ b/Element/CoordinatesUtility.php @@ -2,19 +2,19 @@ namespace Mapbender\CoordinatesUtilityBundle\Element; +use Doctrine\Persistence\ManagerRegistry; use Mapbender\Component\Element\AbstractElementService; use Mapbender\Component\Element\TemplateView; use Mapbender\CoreBundle\Component\ElementBase\ConfigMigrationInterface; use Mapbender\CoreBundle\Entity\Element; use Mapbender\CoreBundle\Entity\SRS; -use Symfony\Bridge\Doctrine\RegistryInterface; class CoordinatesUtility extends AbstractElementService implements ConfigMigrationInterface { - /** @var RegistryInterface */ + /** @var ManagerRegistry */ protected $doctrineRegistry; - public function __construct(RegistryInterface $doctrineRegistry) + public function __construct(ManagerRegistry $doctrineRegistry) { $this->doctrineRegistry = $doctrineRegistry; }