X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fopensearch.php;h=c3a494be1be23d65012b0da05791a3d64c619fd5;hb=1663e2743bb295e04a0d0399d201b45668025e88;hp=b1529860a87487cd3382211e3fe4e7260a49e0c6;hpb=87d46e1ae5e5effcc985021ff5af3f10815f3d3c;p=quix0rs-gnu-social.git diff --git a/actions/opensearch.php b/actions/opensearch.php index b1529860a8..c3a494be1b 100644 --- a/actions/opensearch.php +++ b/actions/opensearch.php @@ -53,7 +53,7 @@ class OpensearchAction extends Action * * @return boolean false if user doesn't exist */ - function handle($args) + function handle(array $args=array()) { parent::handle($args); $type = $this->trimmed('type'); @@ -85,7 +85,7 @@ class OpensearchAction extends Action $this->endXML(); } - function isReadOnly($args) + function isReadOnly(array $args=array()) { return true; }