From 7b2efc66b595b0baa2acabe1d5bd3626af9edd16 Mon Sep 17 00:00:00 2001 From: Kamil Madejski Date: Thu, 23 Aug 2018 11:42:40 +0200 Subject: [PATCH] TypeValue should has dependency to VariationHandler interface, not implementation (#115) --- Rest/Field/TypeValue.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rest/Field/TypeValue.php b/Rest/Field/TypeValue.php index 2083411..bf7839f 100644 --- a/Rest/Field/TypeValue.php +++ b/Rest/Field/TypeValue.php @@ -6,7 +6,7 @@ namespace EzSystems\RecommendationBundle\Rest\Field; use eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration\ConfigResolver; -use eZ\Bundle\EzPublishCoreBundle\Imagine\AliasGenerator as ImageVariationService; +use eZ\Publish\SPI\Variation\VariationHandler as ImageVariationService; use eZ\Publish\Core\MVC\Exception\SourceImageNotFoundException; use eZ\Publish\API\Repository\Values\Content\Content; use eZ\Publish\API\Repository\Values\Content\Field;