Browse Source

D10-68: Handling ${var} deprecation.

pull/13/head
willtp87 1 year ago
parent
commit
bdc6b451d0
  1. 2
      src/Commands/FixityCheck.php

2
src/Commands/FixityCheck.php

@ -50,7 +50,7 @@ class FixityCheck extends DrushCommands {
/** @var \Drupal\dgi_fixity\FixityCheckStorageInterface $storage */ /** @var \Drupal\dgi_fixity\FixityCheckStorageInterface $storage */
$storage = $this->entityTypeManager->getStorage('fixity_check'); $storage = $this->entityTypeManager->getStorage('fixity_check');
$count = $storage->countPeriodic(); $count = $storage->countPeriodic();
if ($this->io()->confirm("This will remove periodic checks on ${count} files, are you sure?", FALSE)) { if ($this->io()->confirm("This will remove periodic checks on {$count} files, are you sure?", FALSE)) {
$storage->clearPeriodic(); $storage->clearPeriodic();
} }
} }

Loading…
Cancel
Save