diff --git a/core/modules/migrate/src/Entity/Migration.php b/core/modules/migrate/src/Entity/Migration.php index 2c14c3a..35d5b63 100644 --- a/core/modules/migrate/src/Entity/Migration.php +++ b/core/modules/migrate/src/Entity/Migration.php @@ -418,15 +418,15 @@ public function setProcessOfProperty($field_name, $process) { /** * {@inheritdoc} */ - public function mergeProcessOfProperty($field_name, array $process) { + public function mergeProcessOfProperty($field_name, array $process_array) { // If we already have a process value then merge the incoming process array - //otherwise simply set it. + // otherwise simply set it. $current_process = $this->getProcess(); if (isset($current_process[$field_name])) { - $this->process = NestedArray::mergeDeepArray([$current_process, $this->getProcessNormalized([$field_name => $process])], TRUE); + $this->process = NestedArray::mergeDeepArray([$current_process, $this->getProcessNormalized([$field_name => $process_array])], TRUE); } else { - $this->setProcessOfProperty($field_name, $process); + $this->setProcessOfProperty($field_name, $process_array); } return $this; diff --git a/core/modules/migrate/src/Entity/MigrationInterface.php b/core/modules/migrate/src/Entity/MigrationInterface.php index fc575a2..c782bee 100644 --- a/core/modules/migrate/src/Entity/MigrationInterface.php +++ b/core/modules/migrate/src/Entity/MigrationInterface.php @@ -217,7 +217,7 @@ public function setProcessOfProperty($field_name, $process); * * @param string $field_name * The field name of which to set the process. - * @param array $process + * @param array $process_array * An array of process data. * * @return $this @@ -225,7 +225,7 @@ public function setProcessOfProperty($field_name, $process); * * @see Drupal\migrate_drupal\Plugin\migrate\load\LoadEntity::processLinkField(). */ - public function mergeProcessOfProperty($field_name, array $process); + public function mergeProcessOfProperty($field_name, array $process_array); /** * Get the current system of record of the migration.