minor correction following MR review + Changelog

This commit is contained in:
nobohan 2021-10-08 12:14:45 +02:00
parent 665b0f8533
commit 2d4b6d1dd1
3 changed files with 6 additions and 4 deletions

View File

@ -10,6 +10,8 @@ and this project adheres to
## Unreleased ## Unreleased
* add 3 new fields to PostalCode and adapt postal code command and fixtures
* [Aside activity] Fixes for aside activity * [Aside activity] Fixes for aside activity
* categories with child * categories with child

View File

@ -142,7 +142,7 @@ class LoadPostalCodesCommand extends Command
$output->writeln('<info>'.$num.' were added !</info>'); $output->writeln('<info>'.$num.' were added !</info>');
} }
public function getCSVResource(InputInterface $input) private function getCSVResource(InputInterface $input)
{ {
$fs = new Filesystem(); $fs = new Filesystem();
$filename = $input->getArgument('csv_file'); $filename = $input->getArgument('csv_file');

View File

@ -67,7 +67,7 @@ class PostalCode
* @var string * @var string
* *
* @ORM\Column(type="string", length=255, nullable=true) * @ORM\Column(type="string", length=255, nullable=true)
* @groups({"write", "read"}) * @groups({"read"})
*/ */
private $refPostalCodeId; private $refPostalCodeId;
@ -75,7 +75,7 @@ class PostalCode
* @var string * @var string
* *
* @ORM\Column(type="string", length=255, nullable=true) * @ORM\Column(type="string", length=255, nullable=true)
* @groups({"write", "read"}) * @groups({"read"})
*/ */
private $postalCodeSource; private $postalCodeSource;
@ -83,7 +83,7 @@ class PostalCode
* @var Point * @var Point
* *
* @ORM\Column(type="point", nullable=true) * @ORM\Column(type="point", nullable=true)
* @groups({"write", "read"}) * @groups({"read"})
*/ */
private $center; private $center;