X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/1cdc30c5e826b0378c28cb60e17a0f409f936b43..75a5c7013fed767a7fda6658f6ffec34fdbbdede:/lib-php/lib.php diff --git a/lib-php/lib.php b/lib-php/lib.php index 6c1fddd0..d95ad4ee 100644 --- a/lib-php/lib.php +++ b/lib-php/lib.php @@ -221,6 +221,8 @@ function closestHouseNumber($aRow) if (!function_exists('array_key_last')) { function array_key_last(array $array) { - if (!empty($array)) return key(array_slice($array, -1, 1, true)); + if (!empty($array)) { + return key(array_slice($array, -1, 1, true)); + } } }