add empty lines on addresses when address is empty

This commit is contained in:
Julien Fastré 2022-03-08 11:38:28 +01:00
parent ec99bc95fa
commit e4ae495a3f

View File

@ -113,6 +113,7 @@ class AddressNormalizer implements ContextAwareNormalizerInterface, NormalizerAw
[ [
'postcode' => $helper->normalize(self::NULL_POSTCODE_COUNTRY, $format, $context), 'postcode' => $helper->normalize(self::NULL_POSTCODE_COUNTRY, $format, $context),
'country' => $helper->normalize(self::NULL_POSTCODE_COUNTRY, $format, $context), 'country' => $helper->normalize(self::NULL_POSTCODE_COUNTRY, $format, $context),
'lines' => [],
] ]
); );
} }