From: Sarah Hoffmann Date: Sat, 10 Feb 2018 14:43:41 +0000 (+0100) Subject: Merge pull request #910 from mtmail/shorten-line-in-update-php X-Git-Tag: v3.2.0~131 X-Git-Url: https://git.openstreetmap.org/nominatim.git/commitdiff_plain/868caeaf1b9572ed0c1fc3b6728ce294e940d5e5?hp=e9407cd48d4c1bed336ad834ac40f009f61921f5 Merge pull request #910 from mtmail/shorten-line-in-update-php shorten line to please PHP style guide --- diff --git a/lib/Geocode.php b/lib/Geocode.php index 6c5fb23e..f2b99bdb 100644 --- a/lib/Geocode.php +++ b/lib/Geocode.php @@ -225,14 +225,14 @@ class Geocode $aViewbox = $oParams->getStringList('viewboxlbrt'); if ($aViewbox) { if (count($aViewbox) != 4) { - userError("Bad parmater 'viewboxlbrt'. Expected 4 coordinates."); + userError("Bad parameter 'viewboxlbrt'. Expected 4 coordinates."); } $this->setViewbox($aViewbox); } else { $aViewbox = $oParams->getStringList('viewbox'); if ($aViewbox) { if (count($aViewbox) != 4) { - userError("Bad parmater 'viewbox'. Expected 4 coordinates."); + userError("Bad parameter 'viewbox'. Expected 4 coordinates."); } $this->setViewBox($aViewbox); } else {