Skip to content

Commit e324f6e

Browse files
authored
fix(cache): add descriptions to cache:clear arguments (#1755)
1 parent 1a2e8fb commit e324f6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/cache/src/Commands/CacheClearCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ public function __construct(
3838
public function __invoke(
3939
#[ConsoleArgument(description: 'Name of the tagged cache to clear')]
4040
?string $tag = null,
41-
#[ConsoleCommand(description: 'Whether to clear all caches')]
41+
#[ConsoleArgument(description: 'Whether to clear all caches')]
4242
bool $all = false,
43-
#[ConsoleCommand(description: 'Whether to clear internal caches')]
43+
#[ConsoleArgument(description: 'Whether to clear internal caches')]
4444
bool $internal = false,
4545
): void {
4646
if (! $this->container instanceof GenericContainer) {

0 commit comments

Comments
 (0)