From 666b81dc68b26e81c6e995e5e2a7374e362b9801 Mon Sep 17 00:00:00 2001 From: Patryk Date: Tue, 17 Jul 2018 17:20:05 +0200 Subject: [PATCH] Clenaup --- src/Importer/PageImporter.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Importer/PageImporter.php b/src/Importer/PageImporter.php index baf7231b9..edd8c47f2 100644 --- a/src/Importer/PageImporter.php +++ b/src/Importer/PageImporter.php @@ -21,7 +21,7 @@ use BitBag\SyliusCmsPlugin\Resolver\ImporterSectionsResolverInterface; use BitBag\SyliusCmsPlugin\Resolver\ResourceResolverInterface; use Doctrine\ORM\EntityManagerInterface; -use Sylius\Component\Core\Uploader\ImageUploader; +use Sylius\Component\Core\Uploader\ImageUploaderInterface; use Sylius\Component\Locale\Context\LocaleContextInterface; use Symfony\Component\Validator\Validator\ValidatorInterface; use Webmozart\Assert\Assert; @@ -40,7 +40,7 @@ final class PageImporter extends AbstractImporter implements PageImporterInterfa /** @var ImageDownloaderInterface */ private $imageDownloader; - /** @var ImageUploader */ + /** @var ImageUploaderInterface */ private $imageUploader; /** @var ImporterSectionsResolverInterface */ @@ -60,7 +60,7 @@ public function __construct( ResourceResolverInterface $sectionResolver, LocaleContextInterface $localeContext, ImageDownloaderInterface $imageDownloader, - ImageUploader $imageUploader, + ImageUploaderInterface $imageUploader, ImporterSectionsResolverInterface $importerSectionsResolver, ImporterChannelsResolverInterface $importerChannelsResolver, ImporterProductsResolverInterface $importerProductsResolver,