diff --git a/lib/template/details-html.php b/lib/template/details-html.php
index 4d5ccb87..328786e2 100644
--- a/lib/template/details-html.php
+++ b/lib/template/details-html.php
@@ -46,8 +46,7 @@
function hash_to_subtable($aAssociatedList)
{
$sHTML = '';
- foreach($aAssociatedList as $sKey => $sValue)
- {
+ foreach ($aAssociatedList as $sKey => $sValue) {
$sHTML = $sHTML.'
'.$sValue.' ('.$sKey.')
'."\n";
}
return $sHTML;
@@ -162,13 +161,10 @@
-
$aHierarchyLines)
- {
+ foreach ($aGroupedAddressLines as $sGroupHeading => $aHierarchyLines) {
$sGroupHeading = ucwords($sGroupHeading);
headline3($sGroupHeading);
- foreach($aHierarchyLines as $aAddressLine)
- {
+ foreach ($aHierarchyLines as $aAddressLine) {
_one_row($aAddressLine);
}
}
@@ -249,7 +239,7 @@
'lon' => $aPointDetails['lon'],
'lat' => $aPointDetails['lat'],
);
- echo 'var nominatim_result = ' . json_encode($aPlace, JSON_PRETTY_PRINT) . ';';
+ echo 'var nominatim_result = ' . json_encode($aPlace, JSON_PRETTY_PRINT) . ';';
?>