Skip to content

Commit

Permalink
cs
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Jan 25, 2024
1 parent 5b23ffe commit 65dbbdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Console/Command/CustomRuleCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
$rectorName = $this->symfonyStyle->ask(
'What is the name of the rule class (e.g. "LegacyCallToDbalMethodCall")?',
null,
static function (string $answer) : string {
static function (string $answer): string {
if ($answer === '') {
throw new ShouldNotHappenException('Rector name cannot be empty');
}
Expand Down

0 comments on commit 65dbbdd

Please sign in to comment.