1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-07 05:36:54 +02:00

feat(console): update CacheDeleteCommand #543

This commit is contained in:
Awilum
2021-09-21 14:15:56 +03:00
parent 0cfa75ea82
commit f738ffe649

View File

@@ -28,10 +28,10 @@ class CacheDeleteCommand extends Command
$key = $input->getArgument('key');
if (cache()->delete($key)) {
$io->success('Key ' . $key . ' deleted.');
$io->success('Cache item with key ' . $key . ' deleted.');
return Command::SUCCESS;
} else {
$io->error('Key ' . $key . ' wasn\'t deleted.');
$io->error('Cache item with key ' . $key . ' wasn\'t deleted.');
return Command::FAILURE;
}
}