@@ -215,7 +215,7 @@ public function __construct(
215
215
* @inheritdoc
216
216
* @since 101.1.0
217
217
*/
218
- public function getMeta (): array
218
+ public function getMeta ()
219
219
{
220
220
$ meta = parent ::getMeta ();
221
221
$ meta = $ this ->prepareMeta ($ meta );
@@ -274,7 +274,10 @@ private function addUseDefaultValueCheckbox(Category $category, array $meta): ar
274
274
}
275
275
276
276
/**
277
- * @inheritDoc
277
+ * Prepare meta data
278
+ *
279
+ * @param array $meta
280
+ * @return array
278
281
* @since 101.0.0
279
282
*/
280
283
public function prepareMeta ($ meta )
@@ -320,7 +323,9 @@ private function prepareFieldsMeta(array $fieldsMap, array $fieldsMeta): array
320
323
}
321
324
322
325
/**
323
- * @inheritDoc
326
+ * Get data
327
+ *
328
+ * @return array
324
329
* @since 101.0.0
325
330
*/
326
331
public function getData ()
@@ -411,7 +416,7 @@ public function getAttributesMeta(Type $entityType)
411
416
* @return array
412
417
* @since 101.0.0
413
418
*/
414
- protected function addUseConfigSettings ($ categoryData ): array
419
+ protected function addUseConfigSettings ($ categoryData )
415
420
{
416
421
foreach ($ this ->elementsWithUseConfigSetting as $ elementsWithUseConfigSetting ) {
417
422
if (!isset ($ categoryData ['use_config ' ][$ elementsWithUseConfigSetting ])) {
@@ -436,7 +441,7 @@ protected function addUseConfigSettings($categoryData): array
436
441
* @deprecated 101.1.0
437
442
* @since 101.0.0
438
443
*/
439
- protected function addUseDefaultSettings ($ category , $ categoryData ): array
444
+ protected function addUseDefaultSettings ($ category , $ categoryData )
440
445
{
441
446
if ($ category ->getExistsStoreValueFlag ('url_key ' ) ||
442
447
$ category ->getStoreId () === Store::DEFAULT_STORE_ID
@@ -510,7 +515,7 @@ public function getScopeLabel(EavAttribute $attribute)
510
515
* @return array
511
516
* @since 101.0.0
512
517
*/
513
- protected function filterFields ($ categoryData ): array
518
+ protected function filterFields ($ categoryData )
514
519
{
515
520
return array_diff_key ($ categoryData , array_flip ($ this ->ignoreFields ));
516
521
}
@@ -558,7 +563,10 @@ private function convertValues($category, $categoryData): array
558
563
}
559
564
560
565
/**
561
- * @inheritDoc
566
+ * Category's fields default values
567
+ *
568
+ * @param array $result
569
+ * @return array
562
570
* @since 101.0.0
563
571
*/
564
572
public function getDefaultMetaData ($ result )
@@ -572,7 +580,9 @@ public function getDefaultMetaData($result)
572
580
}
573
581
574
582
/**
575
- * @inheritDoc
583
+ * List of fields groups and fields.
584
+ *
585
+ * @return array
576
586
* @since 101.0.0
577
587
*/
578
588
protected function getFieldsMap ()
0 commit comments