Skip to content

Commit

Permalink
UHF-10079: Fix drush command
Browse files Browse the repository at this point in the history
  • Loading branch information
hyrsky committed Sep 18, 2024
1 parent eabe692 commit 1246701
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function remove() : void {
/** @var \Drupal\helfi_tpr\Entity\Unit $unit */
$unit = $this->entityTypeManager->getStorage('tpr_unit')->load($unit_id);

$this->output()->writeln($this->t('Deleting "@unit_label"', ['@unit_label' => $unit->label()]));
$this->output()->writeln((string) $this->t('Deleting "@unit_label"', ['@unit_label' => $unit->label()]));

// Release content lock if needed.
if ($this->contentLock->fetchLock($unit->id(), $unit->language()->getId(), entity_type: 'tpr_unit')) {
Expand Down

0 comments on commit 1246701

Please sign in to comment.