diff --git a/app/Controller/IndexController.php b/app/Controller/IndexController.php index d178a2a..2e5aad0 100644 --- a/app/Controller/IndexController.php +++ b/app/Controller/IndexController.php @@ -16,6 +16,8 @@ declare(strict_types=1); namespace App\Controller; +use DateInterval; +use DateTime; use flight\Engine; use flight\Session; use flight\database\SimplePdo; diff --git a/app/commands/CacheCommand.php b/app/commands/CacheCommand.php index cea32c1..cbdd109 100644 --- a/app/commands/CacheCommand.php +++ b/app/commands/CacheCommand.php @@ -37,7 +37,7 @@ class CacheCommand extends AbstractBaseCommand { $cache = new Cache($app); $cache->set_asset($asset); $ares = $cache->Make_Cache(); - if (is_array($ares)) $io->info("Processed of {$ares['user_count']} user.", true); + if (is_array($ares)) $io->white("Processed of {$ares['user_count']} user.", true); $io->ok("Done.", true); }