X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=classes%2Fgeocoder.php;h=825b920af240f022189c7b34c07b79d4cd2c9cca;hb=0f8ca11e1375bbc76ba1da0b6d1b4448ab5cf70e;hp=fea1be1edd73be4578ed8a15d3246589b3d821da;hpb=12262f1306059765d8625a6752364679c8625d31;p=platal.git diff --git a/classes/geocoder.php b/classes/geocoder.php index fea1be1..825b920 100644 --- a/classes/geocoder.php +++ b/classes/geocoder.php @@ -24,15 +24,15 @@ abstract class Geocoder { // Geocodes @p the address, and returns the corresponding updated address. // Unknown key-value pairs available in the input map are retained as-is. - abstract public function getGeocodedAddress(Address &$address); + abstract public function getGeocodedAddress(Address $address); // Cleans the address from its geocoded data - abstract public function stripGeocodingFromAddress(Address &$address); + abstract public function stripGeocodingFromAddress(Address $address); // Updates geoloc_administrativeareas, geoloc_subadministrativeareas and // geoloc_localities databases with new geocoded data and returns the // corresponding id. - static public function getAreaId(Address &$address, $area) + static public function getAreaId(Address $address, $area) { static $databases = array( 'administrativeArea' => 'geoloc_administrativeareas',