Browse Source

Merge pull request #13 from discoverygarden/D10-68

D10-68: Handling  ${var} deprecation.
pull/14/head v1.1.5
JojoVes 1 year ago committed by GitHub
parent
commit
b2f03dd5bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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