]> git.openstreetmap.org Git - nominatim.git/blobdiff - utils/warm.php
PHP linter looks for phpcs.xml by default. Also removed a couple of exceptions that...
[nominatim.git] / utils / warm.php
index 89225426c90d5fb8049736363cedfcf393926f94..da2ff0c13801db7e88d4e28de00fabc16cf9e6be 100755 (executable)
@@ -39,8 +39,11 @@ if (!$aResult['search-only']) {
         if ($bVerbose) echo "$fLat, $fLon = ";
         $aLookup = $oReverseGeocode->lookup($fLat, $fLon);
         if ($aLookup && $aLookup['place_id']) {
-            $aDetails = $oPlaceLookup->lookup((int)$aLookup['place_id'],
-                                              $aLookup['type'], $aLookup['fraction']);
+            $aDetails = $oPlaceLookup->lookup(
+                (int)$aLookup['place_id'],
+                $aLookup['type'],
+                $aLookup['fraction']
+            );
             if ($bVerbose) echo $aDetails['langaddress']."\n";
         } else {
             echo ".";
@@ -64,4 +67,3 @@ if (!$aResult['reverse-only']) {
         else echo ".";
     }
 }
-