]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/searchaction.php
Improved type-hint for following methods:
[quix0rs-gnu-social.git] / lib / searchaction.php
index b994e20296b895078722ad028fe8b36defdf507b..cc640b739245d341b71dd5fb6b5331af2a24b0dc 100644 (file)
@@ -51,12 +51,12 @@ class SearchAction extends Action
      *
      * @return boolean true
      */
-    function isReadOnly($args)
+    function isReadOnly(array $args=array())
     {
         return true;
     }
 
-    function handle($args)
+    function handle(array $args=array())
     {
         parent::handle($args);
         $this->showPage();