X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/1cdc30c5e826b0378c28cb60e17a0f409f936b43..656c1291b15d7f81f87768a7a1eafb7f2d0223d5:/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)); + } } }