From e85e9af52cf62b1a9de715ce7a8d6f5596d7b387 Mon Sep 17 00:00:00 2001 From: Nathan Curtis Date: Fri, 26 Apr 2024 13:05:26 -0700 Subject: [PATCH] [TM-836] Rename variable for clarity. --- app/Console/Commands/MergeEntities.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Console/Commands/MergeEntities.php b/app/Console/Commands/MergeEntities.php index 2601a54e8..93e0ab1c2 100644 --- a/app/Console/Commands/MergeEntities.php +++ b/app/Console/Commands/MergeEntities.php @@ -323,13 +323,13 @@ private function processConditionals($conditionals, $merge, $feeders): void */ private function processFileCollections($fileCollections, $merge, $feeders): void { - foreach ($fileCollections ?? [] as $property => $commandSpec) { + foreach ($fileCollections ?? [] as $collection => $commandSpec) { $commandParts = explode(':', $commandSpec); $command = array_shift($commandParts); switch ($command) { case 'move-to-merged': /** @var MediaModel $merge */ - $this->moveMedia($property, $merge, $feeders); + $this->moveMedia($collection, $merge, $feeders); break;