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 7
7
namespace Magento \Catalog \Model \Product \Attribute \Backend \Media ;
8
8
9
9
use Magento \Catalog \Api \Data \ProductAttributeMediaGalleryEntryInterface ;
10
- use Magento \Catalog \Api \Data \ProductAttributeMediaGalleryEntryInterfaceFactory ;
11
10
use Magento \Catalog \Model \Product ;
12
11
use Magento \Framework \Api \Data \ImageContentInterface ;
13
- use Magento \Framework \Api \DataObjectHelper ;
14
12
15
13
/**
16
14
* Converter for Image media gallery type
@@ -20,7 +18,7 @@ class ImageEntryConverter implements EntryConverterInterface
20
18
/**
21
19
* Media Entry type code
22
20
*/
23
- public const MEDIA_TYPE_CODE = 'image ' ;
21
+ const MEDIA_TYPE_CODE = 'image ' ;
24
22
25
23
/**
26
24
* @var \Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterfaceFactory
@@ -33,8 +31,8 @@ class ImageEntryConverter implements EntryConverterInterface
33
31
protected $ dataObjectHelper ;
34
32
35
33
/**
36
- * @param ProductAttributeMediaGalleryEntryInterfaceFactory $mediaGalleryEntryFactory
37
- * @param DataObjectHelper $dataObjectHelper
34
+ * @param \Magento\Catalog\Api\Data\ ProductAttributeMediaGalleryEntryInterfaceFactory $mediaGalleryEntryFactory
35
+ * @param \Magento\Framework\Api\ DataObjectHelper $dataObjectHelper
38
36
*/
39
37
public function __construct (
40
38
\Magento \Catalog \Api \Data \ProductAttributeMediaGalleryEntryInterfaceFactory $ mediaGalleryEntryFactory ,
You can’t perform that action at this time.
0 commit comments