Skip to content

Commit

Permalink
[TM-836] Lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
roguenet committed Apr 26, 2024
1 parent 6019098 commit 4641623
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/Console/Commands/MergeEntities.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ private function mergeSites(Site $mergeSite, Collection $feederSites): void
$this->abort('Exception encountered during merge operation, transaction aborted: ' . $e->getMessage());
}

echo 'Merge complete!';
echo 'Merge complete!\n\n';
}

/**
Expand Down Expand Up @@ -303,11 +303,13 @@ private function processConditionals($conditionals, $merge, $feeders): void
case 'has-relation':
$property = $commandParts[0];
$answers[$conditional->uuid] = $merge->$property()->count() > 0;

break;

case 'has-text':
$property = $commandParts[0];
$answers[$conditional->uuid] = !empty($merge->$property);
$answers[$conditional->uuid] = ! empty($merge->$property);

break;

default:
Expand Down

0 comments on commit 4641623

Please sign in to comment.