Skip to content

Commit 2b5b986

Browse files
authored
#25452 Elastic Search 5 Indexing Performance Issue
Fix static tests
1 parent 0bf7a4c commit 2b5b986

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

app/code/Magento/Elasticsearch/Model/Adapter/BatchDataMapper/ProductDataMapper.php

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -252,9 +252,14 @@ private function prepareAttributeValues(
252252
*/
253253
private function prepareMultiselectValues(array $values): array
254254
{
255-
return \array_merge(...\array_map(function (string $value) {
256-
return \explode(',', $value);
257-
}, $values));
255+
return \array_merge(
256+
...\array_map(
257+
function (string $value) {
258+
return \explode(',', $value);
259+
},
260+
$values
261+
)
262+
);
258263
}
259264

260265
/**

0 commit comments

Comments
 (0)