Skip to content

Commit 9c4c965

Browse files
committed
Fix #21684 - code style fix
1 parent d351549 commit 9c4c965

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/code/Magento/Catalog/Model/Category/DataProvider.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
use Magento\Catalog\Model\Attribute\ScopeOverriddenValue;
1313
use Magento\Catalog\Model\Category;
1414
use Magento\Catalog\Model\Category\Attribute\Backend\Image as ImageBackendModel;
15+
use Magento\Catalog\Model\Category\Attribute\Backend\LayoutUpdate;
1516
use Magento\Catalog\Model\CategoryFactory;
1617
use Magento\Catalog\Model\ResourceModel\Category\CollectionFactory as CategoryCollectionFactory;
1718
use Magento\Catalog\Model\ResourceModel\Eav\Attribute as EavAttribute;
@@ -195,7 +196,6 @@ class DataProvider extends ModifierPoolDataProvider
195196
* @param ScopeOverriddenValue|null $scopeOverriddenValue
196197
* @param ArrayManager|null $arrayManager
197198
* @param FileInfo|null $fileInfo
198-
* @throws LocalizedException
199199
* @SuppressWarnings(PHPMD.ExcessiveParameterList)
200200
*/
201201
public function __construct(
@@ -484,7 +484,7 @@ protected function addUseConfigSettings($categoryData)
484484
/**
485485
* Add use default settings
486486
*
487-
* @param \Magento\Catalog\Model\Category $category
487+
* @param Category $category
488488
* @param array $categoryData
489489
* @return array
490490
* @deprecated 101.1.0
@@ -572,7 +572,7 @@ protected function filterFields($categoryData)
572572
/**
573573
* Converts category image data to acceptable for rendering format
574574
*
575-
* @param \Magento\Catalog\Model\Category $category
575+
* @param Category $category
576576
* @param array $categoryData
577577
* @return array
578578
*/
@@ -582,7 +582,7 @@ private function convertValues($category, $categoryData): array
582582
if ($attributeCode === 'custom_layout_update_file') {
583583
if (!empty($categoryData['custom_layout_update'])) {
584584
$categoryData['custom_layout_update_file']
585-
= \Magento\Catalog\Model\Category\Attribute\Backend\LayoutUpdate::VALUE_USE_UPDATE_XML;
585+
= LayoutUpdate::VALUE_USE_UPDATE_XML;
586586
}
587587
}
588588
if (!isset($categoryData[$attributeCode])) {

0 commit comments

Comments
 (0)