DX: rector apply rules 'symfony up to 4.4

This commit is contained in:
2023-05-05 18:21:09 +02:00
parent f04ef9c931
commit efaa01f4f6
45 changed files with 75 additions and 74 deletions

View File

@@ -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)