Skip to content

Commit

Permalink
[TM-836] Rename variable for clarity.
Browse files Browse the repository at this point in the history
  • Loading branch information
roguenet committed Apr 26, 2024
1 parent aa2f851 commit e85e9af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Console/Commands/MergeEntities.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit e85e9af

Please sign in to comment.