We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c119c82 commit bbd5612Copy full SHA for bbd5612
app/code/Magento/Eav/Model/Entity/Attribute/Backend/ArrayBackend.php
@@ -58,14 +58,18 @@ public function validate($object)
58
59
/**
60
* Prepare attribute values
61
+ *
62
+ * @param array $data
63
+ * @return string
64
*/
65
private function prepare(array $data): string
66
{
67
return implode(
68
',',
69
array_filter(
70
array_unique($data),
- fn($value) => is_numeric($value) || !empty($value))
71
+ fn($value) => is_numeric($value) || !empty($value)
72
+ )
73
);
74
}
75
0 commit comments