mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
PHP code style: enforce long array initialisation (#1015)
This commit is contained in:
@@ -63,7 +63,7 @@ $sQuery = join(',', $aCleanedQueryParts);
|
||||
// we initialize these to avoid warnings in our logfile
|
||||
$sViewBox = '';
|
||||
$bShowPolygons = '';
|
||||
$aExcludePlaceIDs = [];
|
||||
$aExcludePlaceIDs = array();
|
||||
$sMoreURL = '';
|
||||
|
||||
include(CONST_BasePath.'/lib/template/search-'.$sOutputFormat.'.php');
|
||||
|
||||
@@ -62,7 +62,7 @@ if (isset($aPlace)) {
|
||||
$aPlace = array_merge($aPlace, $aOutlineResult);
|
||||
}
|
||||
} else {
|
||||
$aPlace = [];
|
||||
$aPlace = array();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user