mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-07 15:25:00 +00:00
DX: rector apply rules 'symfony up to 4.4
This commit is contained in:
@@ -72,7 +72,7 @@ class LoadPostalCodesCommand extends Command
|
||||
);
|
||||
}
|
||||
|
||||
protected function execute(InputInterface $input, OutputInterface $output)
|
||||
protected function execute(InputInterface $input, OutputInterface $output): int
|
||||
{
|
||||
$csv = $this->getCSVResource($input);
|
||||
|
||||
@@ -105,6 +105,7 @@ class LoadPostalCodesCommand extends Command
|
||||
$this->entityManager->flush();
|
||||
|
||||
$output->writeln('<info>' . $num . ' were added !</info>');
|
||||
return 0;
|
||||
}
|
||||
|
||||
private function addPostalCode($row, OutputInterface $output)
|
||||
|
Reference in New Issue
Block a user