Skip to content

Commit e78f622

Browse files
committed
useless if on cache
1 parent b085c4a commit e78f622

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Console/Commands/HooksCacheCommand.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ class HooksCacheCommand extends Command
1414
public function handle(): int
1515
{
1616
HookManager::createCache();
17-
if (HookManager::isCached()) {
18-
$this->components->info('Hooks cached successfully.');
19-
}
17+
$this->components->info('Hooks cached successfully.');
2018

2119
return self::SUCCESS;
2220
}

0 commit comments

Comments
 (0)