PHP code style: enforce long array initialisation (#1015)

This commit is contained in:
mtmail
2018-04-13 13:18:29 +02:00
committed by GitHub
parent cdbde5b88d
commit 3087ac1145
6 changed files with 63 additions and 61 deletions

View File

@@ -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');

View File

@@ -62,7 +62,7 @@ if (isset($aPlace)) {
$aPlace = array_merge($aPlace, $aOutlineResult);
}
} else {
$aPlace = [];
$aPlace = array();
}