@@ -288,9 +288,12 @@ private function getCustomerEntityFieldsToUpdate(array $entitiesToUpdate): array
288
288
{
289
289
$ firstCustomer = reset ($ entitiesToUpdate );
290
290
$ columnsToUpdate = array_keys ($ firstCustomer );
291
- $ customerFieldsToUpdate = array_filter ($ this ->customerFields , function ($ field ) use ($ columnsToUpdate ) {
292
- return in_array ($ field , $ columnsToUpdate );
293
- });
291
+ $ customerFieldsToUpdate = array_filter (
292
+ $ this ->customerFields ,
293
+ function ($ field ) use ($ columnsToUpdate ) {
294
+ return in_array ($ field , $ columnsToUpdate );
295
+ }
296
+ );
294
297
return $ customerFieldsToUpdate ;
295
298
}
296
299
@@ -523,9 +526,9 @@ protected function _importData()
523
526
$ attributesToSave [$ tableName ] = [];
524
527
}
525
528
$ attributesToSave [$ tableName ] = array_diff_key (
526
- $ attributesToSave [$ tableName ],
527
- $ customerAttributes
528
- ) + $ customerAttributes ;
529
+ $ attributesToSave [$ tableName ],
530
+ $ customerAttributes
531
+ ) + $ customerAttributes ;
529
532
}
530
533
}
531
534
}
@@ -582,12 +585,12 @@ protected function _validateRowForUpdate(array $rowData, $rowNumber)
582
585
}
583
586
// check password
584
587
if (isset (
585
- $ rowData ['password ' ]
586
- ) && strlen (
587
- $ rowData ['password ' ]
588
- ) && $ this ->string ->strlen (
589
- $ rowData ['password ' ]
590
- ) < self ::MIN_PASSWORD_LENGTH
588
+ $ rowData ['password ' ]
589
+ ) && strlen (
590
+ $ rowData ['password ' ]
591
+ ) && $ this ->string ->strlen (
592
+ $ rowData ['password ' ]
593
+ ) < self ::MIN_PASSWORD_LENGTH
591
594
) {
592
595
$ this ->addRowError (self ::ERROR_PASSWORD_LENGTH , $ rowNumber );
593
596
}
0 commit comments