From ef32cd18dfc6c02422d24b751d5729e5cba08043 Mon Sep 17 00:00:00 2001 From: Alex Zamponi <562324+alexz707@users.noreply.github.com> Date: Wed, 5 Jun 2024 10:27:30 +0200 Subject: [PATCH] Use interface --- src/Tag/Repository/TagRepository.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Tag/Repository/TagRepository.php b/src/Tag/Repository/TagRepository.php index 1bb9c7d3a..568db5933 100644 --- a/src/Tag/Repository/TagRepository.php +++ b/src/Tag/Repository/TagRepository.php @@ -17,6 +17,7 @@ namespace Pimcore\Bundle\StudioBackendBundle\Tag\Repository; use Pimcore\Bundle\StaticResolverBundle\Models\Tag\TagResolver; +use Pimcore\Bundle\StaticResolverBundle\Models\Tag\TagResolverInterface; use Pimcore\Bundle\StudioBackendBundle\Exception\ElementDeletingFailedException; use Pimcore\Bundle\StudioBackendBundle\Exception\ElementNotFoundException; use Pimcore\Bundle\StudioBackendBundle\Security\Service\SecurityServiceInterface; @@ -38,7 +39,7 @@ public function __construct( private SecurityServiceInterface $securityService, - private TagResolver $tagResolver + private TagResolverInterface $tagResolver ) { }