diff --git a/src/Commands/UpdatePermanentCachesCommand.php b/src/Commands/UpdatePermanentCachesCommand.php index d6eb569..59e41f8 100644 --- a/src/Commands/UpdatePermanentCachesCommand.php +++ b/src/Commands/UpdatePermanentCachesCommand.php @@ -63,7 +63,7 @@ public function handle() $cache->update($parameters); - $currentTask = (new ReflectionClass($cache))->getName(); + $currentTask = $cache->getName(); $emoji = ($progressBar->getProgress() % 2 ? Emoji::hourglassNotDone() : Emoji::hourglassDone()); $progressBar->setMessage('Updating: '.$currentTask.' '.$emoji);