Skip to content

Commit 83a7770

Browse files
author
Oleksandr Gorkun
committed
MC-18685: Remove custom layout updates from admin
1 parent eec82d3 commit 83a7770

File tree

1 file changed

+4
-4
lines changed
  • app/code/Magento/Catalog/Controller/Adminhtml/Product/Initialization

1 file changed

+4
-4
lines changed

app/code/Magento/Catalog/Controller/Adminhtml/Product/Initialization/Helper.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ class Helper
128128
* @param ProductRepositoryInterface|null $productRepository
129129
* @param LinkTypeProvider|null $linkTypeProvider
130130
* @param AttributeFilter|null $attributeFilter
131-
* @param ProductAuthorization|null $productAuthorization
132131
* @param FormatInterface|null $localeFormat
132+
* @param ProductAuthorization|null $productAuthorization
133133
* @SuppressWarnings(PHPMD.ExcessiveParameterList)
134134
*/
135135
public function __construct(
@@ -144,8 +144,8 @@ public function __construct(
144144
ProductRepositoryInterface $productRepository = null,
145145
LinkTypeProvider $linkTypeProvider = null,
146146
AttributeFilter $attributeFilter = null,
147-
?ProductAuthorization $productAuthorization = null,
148-
FormatInterface $localeFormat = null
147+
FormatInterface $localeFormat = null,
148+
?ProductAuthorization $productAuthorization = null
149149
) {
150150
$this->request = $request;
151151
$this->storeManager = $storeManager;
@@ -160,8 +160,8 @@ public function __construct(
160160
$this->productRepository = $productRepository ?: $objectManager->get(ProductRepositoryInterface::class);
161161
$this->linkTypeProvider = $linkTypeProvider ?: $objectManager->get(LinkTypeProvider::class);
162162
$this->attributeFilter = $attributeFilter ?: $objectManager->get(AttributeFilter::class);
163-
$this->productAuthorization = $productAuthorization ?? $objectManager->get(ProductAuthorization::class);
164163
$this->localeFormat = $localeFormat ?: $objectManager->get(FormatInterface::class);
164+
$this->productAuthorization = $productAuthorization ?? $objectManager->get(ProductAuthorization::class);
165165
}
166166

167167
/**

0 commit comments

Comments
 (0)