diff --git a/apps/files_trashbin/lib/Command/RestoreAllFiles.php b/apps/files_trashbin/lib/Command/RestoreAllFiles.php
index f071526680c0b..cd79f1e8def68 100644
--- a/apps/files_trashbin/lib/Command/RestoreAllFiles.php
+++ b/apps/files_trashbin/lib/Command/RestoreAllFiles.php
@@ -276,13 +276,13 @@ protected function filterTrashItems(array $trashItems, int $scope, ?int $since,
// Check left timestamp boundary
if ($since !== null && $trashItem->getDeletedTime() <= $since) {
- $output->writeln("Skipping " . $trashItem->getName() . " because it was deleted before the restore-from timestamp", OutputInterface::VERBOSITY_VERBOSE);
+ $output->writeln("Skipping " . $trashItem->getName() . " because it was deleted before the 'since' timestamp", OutputInterface::VERBOSITY_VERBOSE);
continue;
}
// Check right timestamp boundary
if ($until !== null && $trashItem->getDeletedTime() >= $until) {
- $output->writeln("Skipping " . $trashItem->getName() . " because it was deleted after the restore-to timestamp", OutputInterface::VERBOSITY_VERBOSE);
+ $output->writeln("Skipping " . $trashItem->getName() . " because it was deleted after the 'until' timestamp", OutputInterface::VERBOSITY_VERBOSE);
continue;
}