From: Sarah Hoffmann Date: Sat, 24 Nov 2018 18:05:13 +0000 (+0100) Subject: remove PHP parameter typing X-Git-Tag: v3.3.0~55^2~3 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/5e072dabc3b0240f166d5438235dfad466d58af2 remove PHP parameter typing Older PHPs don't seem to like it. --- diff --git a/lib/setup/AddressLevelParser.php b/lib/setup/AddressLevelParser.php index 5bc17d63..86674243 100644 --- a/lib/setup/AddressLevelParser.php +++ b/lib/setup/AddressLevelParser.php @@ -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);