X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fgeocode.php;h=a0cd2fa159ff127e3b80e29377bc25af00da3235;hb=b15f5f0cafc08c9b63090c5b4f7494fca0634238;hp=9e208914c16ca088cf63cd7f08c43e07eb83cefc;hpb=9a6ee5e859635bd7acfbdf1e1994f665d39455af;p=quix0rs-gnu-social.git diff --git a/actions/geocode.php b/actions/geocode.php index 9e208914c1..a0cd2fa159 100644 --- a/actions/geocode.php +++ b/actions/geocode.php @@ -47,7 +47,7 @@ class GeocodeAction extends Action var $lon = null; var $location = null; - function prepare($args) + function prepare(array $args=array()) { parent::prepare($args); $token = $this->trimmed('token'); @@ -70,7 +70,7 @@ class GeocodeAction extends Action * @return nothing * */ - function handle($args) + function handle(array $args=array()) { header('Content-Type: application/json; charset=utf-8'); $location_object = array(); @@ -90,7 +90,7 @@ class GeocodeAction extends Action * * @return boolean true */ - function isReadOnly($args) + function isReadOnly(array $args=array()) { return true; }