mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 11:08:13 +00:00
remove PHP parameter typing
Older PHPs don't seem to like it.
This commit is contained in:
@@ -9,7 +9,7 @@ class AddressLevelParser
|
|||||||
{
|
{
|
||||||
private $aLevels;
|
private $aLevels;
|
||||||
|
|
||||||
public function __construct(string $sDescriptionFile)
|
public function __construct($sDescriptionFile)
|
||||||
{
|
{
|
||||||
$sJson = file_get_contents($sDescriptionFile);
|
$sJson = file_get_contents($sDescriptionFile);
|
||||||
$this->aLevels = json_decode($sJson, true);
|
$this->aLevels = json_decode($sJson, true);
|
||||||
|
|||||||
Reference in New Issue
Block a user