diff --git a/src/Commands/CacheReset.php b/src/Commands/CacheReset.php index 180d1697..f629b6c7 100644 --- a/src/Commands/CacheReset.php +++ b/src/Commands/CacheReset.php @@ -13,10 +13,8 @@ class CacheReset extends Command public function handle() { - if (app(PermissionRegistrar::class)->forgetCachedPermissions()) { - $this->info('Permission cache flushed.'); - } else { - $this->error('Unable to flush cache.'); - } + app(PermissionRegistrar::class)->forgetCachedPermissions(); + + $this->info('Permission cache flushed successfully.'); } }