From df45c83feb0ce4d8700238992e6dc06f61882d12 Mon Sep 17 00:00:00 2001 From: Mark van Eijk Date: Thu, 9 May 2024 20:22:29 +0200 Subject: [PATCH] wip --- src/Commands/UpdatePermanentCachesCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);