forked from hans/Nominatim
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;
|
||||
|
||||
public function __construct(string $sDescriptionFile)
|
||||
public function __construct($sDescriptionFile)
|
||||
{
|
||||
$sJson = file_get_contents($sDescriptionFile);
|
||||
$this->aLevels = json_decode($sJson, true);
|
||||
|
||||
Reference in New Issue
Block a user