]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/opensearch.php
Improved type-hint for following methods:
[quix0rs-gnu-social.git] / actions / opensearch.php
index b1529860a87487cd3382211e3fe4e7260a49e0c6..c3a494be1be23d65012b0da05791a3d64c619fd5 100644 (file)
@@ -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;
     }