Skip to content

Commit aa1e2d1

Browse files
committed
MAGETWO-97044: Calculated Labels in Columns Widget
1 parent 2d4b68b commit aa1e2d1

File tree

1 file changed

+3
-2
lines changed
  • app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier

1 file changed

+3
-2
lines changed

app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/Eav.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -627,18 +627,19 @@ public function setupAttributeMeta(ProductAttributeInterface $attribute, $groupC
627627
}
628628

629629
/**
630-
* Convert options value to string
630+
* Convert options value to string.
631631
*
632632
* @param array $options
633633
* @return array
634634
*/
635-
private function convertOptionsValueToString(array $options): array
635+
private function convertOptionsValueToString(array $options)
636636
{
637637
array_walk($options, function (&$value) {
638638
if (isset($value['value']) && is_scalar($value['value'])) {
639639
$value['value'] = (string)$value['value'];
640640
}
641641
});
642+
642643
return $options;
643644
}
644645

0 commit comments

Comments
 (0)