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
* add 3 new fields to PostalCode and adapt postal code command and fixtures
* [Aside activity] Fixes for aside activity
* categories with child

View File

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

View File

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