mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 05:44:24 +00:00
Use CS Fixer
This commit is contained in:
parent
1e63d00767
commit
2c02150b1a
@ -118,7 +118,7 @@ class LoadPostalCodesCommand extends Command
|
|||||||
|
|
||||||
private function addPostalCode($row, OutputInterface $output)
|
private function addPostalCode($row, OutputInterface $output)
|
||||||
{
|
{
|
||||||
if($row[2] == 'FR' && strlen($row[0]) == 4) {
|
if ($row[2] == 'FR' && strlen($row[0]) == 4) {
|
||||||
// CP in FRANCE are on 5 digit
|
// CP in FRANCE are on 5 digit
|
||||||
// For CP starting with a zero, the starting zero can be remove if stored as number in a csv
|
// For CP starting with a zero, the starting zero can be remove if stored as number in a csv
|
||||||
// add a zero if CP from FR and on 4 digit
|
// add a zero if CP from FR and on 4 digit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user