Skip to content

Commit 321c70b

Browse files
committed
Update
1 parent 32cb0e3 commit 321c70b

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

app/code/Magento/MediaContentCatalog/Observer/Category.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,14 @@ class Category implements ObserverInterface
5353
private $metadataPool;
5454

5555
/**
56+
*
5657
* @var Config
5758
*/
5859
private $config;
5960

6061
/**
62+
* Create links for category content
63+
*
6164
* @param ContentIdentityInterfaceFactory $contentIdentityFactory
6265
* @param GetContent $getContent
6366
* @param UpdateContentAssetLinksInterface $updateContentAssetLinks
@@ -68,17 +71,17 @@ class Category implements ObserverInterface
6871
public function __construct(
6972
ContentIdentityInterfaceFactory $contentIdentityFactory,
7073
GetContent $getContent,
71-
UpdateContentAssetLinksInterface $updateContentAssetLinks,
7274
MetadataPool $metadataPool,
75+
UpdateContentAssetLinksInterface $updateContentAssetLinks,
7376
Config $config,
7477
array $fields
7578
) {
7679
$this->contentIdentityFactory = $contentIdentityFactory;
7780
$this->getContent = $getContent;
7881
$this->updateContentAssetLinks = $updateContentAssetLinks;
7982
$this->metadataPool = $metadataPool;
80-
$this->config = $config;
8183
$this->fields = $fields;
84+
$this->config = $config;
8285
}
8386

8487
/**

app/code/Magento/MediaContentCatalog/Observer/Product.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ class Product implements ObserverInterface
5858
private $config;
5959

6060
/**
61+
* * Create links for product content
62+
*
6163
* @param ContentIdentityInterfaceFactory $contentIdentityFactory
6264
* @param GetContent $getContent
6365
* @param UpdateContentAssetLinksInterface $updateContentAssetLinks

0 commit comments

Comments
 (0)