diff --git a/Rest/Field/TypeValue.php b/Rest/Field/TypeValue.php index 5d4fe87..75e7063 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\PlaceholderAliasGenerator as ImageVariationService; +use eZ\Publish\SPI\Variation\VariationHandler as ImageVariationService; use eZ\Publish\Core\FieldType\RichText\Converter as RichTextConverterInterface; use eZ\Publish\Core\MVC\Exception\SourceImageNotFoundException; use eZ\Publish\API\Repository\Values\Content\Content; @@ -19,7 +19,7 @@ class TypeValue /** @var \eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration\ConfigResolver */ private $configResolver; - /** @var \eZ\Bundle\EzPublishCoreBundle\Imagine\AliasGenerator */ + /** @var \eZ\Publish\SPI\Variation\VariationHandler */ protected $imageVariationService; /** @var \eZ\Publish\Core\FieldType\RichText\Converter */ @@ -30,7 +30,7 @@ class TypeValue /** * @param \eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration\ConfigResolver $configResolver - * @param \eZ\Bundle\EzPublishCoreBundle\Imagine\PlaceholderAliasGenerator $imageVariationService + * @param \eZ\Publish\SPI\Variation\VariationHandler $imageVariationService * @param \eZ\Publish\Core\FieldType\RichText\Converter $richHtml5Converter * @param \eZ\Publish\Core\FieldType\XmlText\Converter\Html5 $xmlHtml5Converter */