Skip to content

Commit c098a16

Browse files
committed
Run Rector
1 parent 68adc25 commit c098a16

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

src/Command/MeilisearchClearCommand.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ public static function getDefaultDescription(): string
2626
protected function configure(): void
2727
{
2828
$this
29-
->setDescription(self::getDefaultDescription())
3029
->addOption('indices', 'i', InputOption::VALUE_OPTIONAL, 'Comma-separated list of index names');
3130
}
3231

@@ -54,6 +53,6 @@ protected function execute(InputInterface $input, OutputInterface $output): int
5453

5554
$output->writeln('<info>Done!</info>');
5655

57-
return 0;
56+
return \Symfony\Component\Console\Command\Command::SUCCESS;
5857
}
5958
}

src/Command/MeilisearchCreateCommand.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ public static function getDefaultDescription(): string
3939
protected function configure(): void
4040
{
4141
$this
42-
->setDescription(self::getDefaultDescription())
4342
->addOption('indices', 'i', InputOption::VALUE_OPTIONAL, 'Comma-separated list of index names');
4443
}
4544

@@ -112,6 +111,6 @@ protected function execute(InputInterface $input, OutputInterface $output): int
112111

113112
$output->writeln('<info>Done!</info>');
114113

115-
return 0;
114+
return \Symfony\Component\Console\Command\Command::SUCCESS;
116115
}
117116
}

src/Command/MeilisearchDeleteCommand.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ public static function getDefaultDescription(): string
2828
protected function configure(): void
2929
{
3030
$this
31-
->setDescription(self::getDefaultDescription())
3231
->addOption('indices', 'i', InputOption::VALUE_OPTIONAL, 'Comma-separated list of index names');
3332
}
3433

@@ -54,6 +53,6 @@ protected function execute(InputInterface $input, OutputInterface $output): int
5453

5554
$output->writeln('<info>Done!</info>');
5655

57-
return 0;
56+
return \Symfony\Component\Console\Command\Command::SUCCESS;
5857
}
5958
}

src/Command/MeilisearchImportCommand.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ public static function getDefaultDescription(): string
4848
protected function configure(): void
4949
{
5050
$this
51-
->setDescription(self::getDefaultDescription())
5251
->addOption('indices', 'i', InputOption::VALUE_OPTIONAL, 'Comma-separated list of index names')
5352
->addOption(
5453
'update-settings',
@@ -189,7 +188,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
189188

190189
$output->writeln('<info>Done!</info>');
191190

192-
return 0;
191+
return \Symfony\Component\Console\Command\Command::SUCCESS;
193192
}
194193

195194
/**

0 commit comments

Comments
 (0)