From 990141b78b894768a83269943ef8310932868f0c Mon Sep 17 00:00:00 2001 From: Awilum Date: Tue, 21 Sep 2021 14:16:04 +0300 Subject: [PATCH] feat(console): update CacheSetCommand #543 --- src/flextype/core/Console/Commands/Cache/CacheSetCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/flextype/core/Console/Commands/Cache/CacheSetCommand.php b/src/flextype/core/Console/Commands/Cache/CacheSetCommand.php index 04dc6431..5693a107 100644 --- a/src/flextype/core/Console/Commands/Cache/CacheSetCommand.php +++ b/src/flextype/core/Console/Commands/Cache/CacheSetCommand.php @@ -35,10 +35,10 @@ class CacheSetCommand extends Command $ttl = $input->getArgument('ttl') ?? 300; if (cache()->set($key, $value, $ttl)) { - $io->success('Value for key ' . $key . ' stored.'); + $io->success('Cache item with key ' . $key . ' create.'); return Command::SUCCESS; } else { - $io->error('Value for key ' . $key . ' wasn\'t created.'); + $io->error('Cache item with key ' . $key . ' wasn\'t created.'); return Command::FAILURE; } }