File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
app/code/Magento/Catalog/Model/Product/Attribute/Backend/Media Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 77namespace Magento \Catalog \Model \Product \Attribute \Backend \Media ;
88
99use Magento \Catalog \Api \Data \ProductAttributeMediaGalleryEntryInterface ;
10- use Magento \Catalog \Api \Data \ProductAttributeMediaGalleryEntryInterfaceFactory ;
1110use Magento \Catalog \Model \Product ;
1211use Magento \Framework \Api \Data \ImageContentInterface ;
13- use Magento \Framework \Api \DataObjectHelper ;
1412
1513/**
1614 * Converter for Image media gallery type
@@ -20,7 +18,7 @@ class ImageEntryConverter implements EntryConverterInterface
2018 /**
2119 * Media Entry type code
2220 */
23- public const MEDIA_TYPE_CODE = 'image ' ;
21+ const MEDIA_TYPE_CODE = 'image ' ;
2422
2523 /**
2624 * @var \Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterfaceFactory
@@ -33,8 +31,8 @@ class ImageEntryConverter implements EntryConverterInterface
3331 protected $ dataObjectHelper ;
3432
3533 /**
36- * @param ProductAttributeMediaGalleryEntryInterfaceFactory $mediaGalleryEntryFactory
37- * @param DataObjectHelper $dataObjectHelper
34+ * @param \Magento\Catalog\Api\Data\ ProductAttributeMediaGalleryEntryInterfaceFactory $mediaGalleryEntryFactory
35+ * @param \Magento\Framework\Api\ DataObjectHelper $dataObjectHelper
3836 */
3937 public function __construct (
4038 \Magento \Catalog \Api \Data \ProductAttributeMediaGalleryEntryInterfaceFactory $ mediaGalleryEntryFactory ,
You can’t perform that action at this time.
0 commit comments