]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/approvesub.php
Improved type-hint for following methods:
[quix0rs-gnu-social.git] / actions / approvesub.php
index c9fa804412a97b4abd0669c38be051b77cc81a64..0e70e3429ec995781b8989d6da9a9340d2f6d9d5 100644 (file)
@@ -50,7 +50,7 @@ class ApprovesubAction extends Action
     /**
      * Prepare to run
      */
-    function prepare($args)
+    function prepare(array $args=array())
     {
         parent::prepare($args);
 
@@ -97,7 +97,7 @@ class ApprovesubAction extends Action
      *
      * @return void
      */
-    function handle($args)
+    function handle(array $args=array())
     {
         parent::handle($args);
         $cur = common_current_user();