12
12
use Magento \Catalog \Model \Attribute \ScopeOverriddenValue ;
13
13
use Magento \Catalog \Model \Category ;
14
14
use Magento \Catalog \Model \Category \Attribute \Backend \Image as ImageBackendModel ;
15
+ use Magento \Catalog \Model \Category \Attribute \Backend \LayoutUpdate ;
15
16
use Magento \Catalog \Model \CategoryFactory ;
16
17
use Magento \Catalog \Model \ResourceModel \Category \CollectionFactory as CategoryCollectionFactory ;
17
18
use Magento \Catalog \Model \ResourceModel \Eav \Attribute as EavAttribute ;
@@ -195,7 +196,6 @@ class DataProvider extends ModifierPoolDataProvider
195
196
* @param ScopeOverriddenValue|null $scopeOverriddenValue
196
197
* @param ArrayManager|null $arrayManager
197
198
* @param FileInfo|null $fileInfo
198
- * @throws LocalizedException
199
199
* @SuppressWarnings(PHPMD.ExcessiveParameterList)
200
200
*/
201
201
public function __construct (
@@ -484,7 +484,7 @@ protected function addUseConfigSettings($categoryData)
484
484
/**
485
485
* Add use default settings
486
486
*
487
- * @param \Magento\Catalog\Model\ Category $category
487
+ * @param Category $category
488
488
* @param array $categoryData
489
489
* @return array
490
490
* @deprecated 101.1.0
@@ -572,7 +572,7 @@ protected function filterFields($categoryData)
572
572
/**
573
573
* Converts category image data to acceptable for rendering format
574
574
*
575
- * @param \Magento\Catalog\Model\ Category $category
575
+ * @param Category $category
576
576
* @param array $categoryData
577
577
* @return array
578
578
*/
@@ -582,7 +582,7 @@ private function convertValues($category, $categoryData): array
582
582
if ($ attributeCode === 'custom_layout_update_file ' ) {
583
583
if (!empty ($ categoryData ['custom_layout_update ' ])) {
584
584
$ categoryData ['custom_layout_update_file ' ]
585
- = \ Magento \ Catalog \ Model \ Category \ Attribute \ Backend \ LayoutUpdate::VALUE_USE_UPDATE_XML ;
585
+ = LayoutUpdate::VALUE_USE_UPDATE_XML ;
586
586
}
587
587
}
588
588
if (!isset ($ categoryData [$ attributeCode ])) {
0 commit comments