diff --git a/src/Console/Commands/Cache/ClearCommand.php b/src/Console/Commands/Cache/ClearCommand.php index c5ff019..e2af449 100644 --- a/src/Console/Commands/Cache/ClearCommand.php +++ b/src/Console/Commands/Cache/ClearCommand.php @@ -38,7 +38,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int $prefix = $input->getOption('prefix'); $prefix = match (is_string($prefix)) { - true => $prefix, + true => trim($prefix), default => Cache::CACHE_PREFIX, };