Skip to content

Commit 78e09a4

Browse files
committed
Fix ClassConstFetch use on InvokableCommandInputAttributeRector
1 parent 2385531 commit 78e09a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules-tests/Symfony73/Rector/Class_/InvokableCommandInputAttributeRector/Fixture/name_from_constant.php.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class NameFromConstant
5555
protected function __invoke(#[\Symfony\Component\Console\Attribute\Argument(name: self::ARGUMENT_NAME, description: 'The name of the person to greet.')]
5656
?string $name, OutputInterface $output): int
5757
{
58-
$name = self::ARGUMENT_NAME;
58+
$name = $name;
5959
$output->writeln("Hello {$name}!");
6060
return Command::SUCCESS;
6161
}

0 commit comments

Comments
 (0)