Skip to content

Commit 142e224

Browse files
author
lakshmana
committed
ACP2E-1526 : reverting changes
1 parent 7cf2ef8 commit 142e224

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

app/code/Magento/Catalog/Model/Product/Attribute/Backend/Media/ImageEntryConverter.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,8 @@
77
namespace Magento\Catalog\Model\Product\Attribute\Backend\Media;
88

99
use Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterface;
10-
use Magento\Catalog\Api\Data\ProductAttributeMediaGalleryEntryInterfaceFactory;
1110
use Magento\Catalog\Model\Product;
1211
use 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,

0 commit comments

Comments
 (0)