mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
DX: repairs code style, and psalm types
This commit is contained in:
@@ -58,7 +58,7 @@ class ExportAddressHelper
|
||||
'country' => ['country'],
|
||||
'postal_code' => ['postcode_code', 'postcode_name'],
|
||||
'street' => ['street', 'streetNumber'],
|
||||
'building' => ['buildingName', 'corridor', 'distribution', 'extra', 'flat', 'floor'],
|
||||
'building' => ['buildingName', 'corridor', 'distribution', 'extra', 'flat', 'floor', 'steps'],
|
||||
'string' => ['_as_string'],
|
||||
'attributes' => ['isNoAddress', 'confidential', 'id'],
|
||||
'geom' => ['_lat', '_lon'],
|
||||
@@ -97,7 +97,6 @@ class ExportAddressHelper
|
||||
|
||||
case 'street':
|
||||
case 'streetNumber':
|
||||
case 'building':
|
||||
case 'floor':
|
||||
case 'corridor':
|
||||
case 'steps':
|
||||
@@ -238,10 +237,6 @@ class ExportAddressHelper
|
||||
return $translationPrefix . $sanitizedKey;
|
||||
}
|
||||
|
||||
if (null === $value) {
|
||||
return '';
|
||||
}
|
||||
|
||||
switch ($value) {
|
||||
case null:
|
||||
return '';
|
||||
|
Reference in New Issue
Block a user