]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/nudge.php
Improved type-hint for following methods:
[quix0rs-gnu-social.git] / actions / nudge.php
index 801d1f06810aa343dbfe78e2cb37e005db519cd8..5ceaa180636c76e743fa4d587b355d0dba9e7299 100644 (file)
@@ -55,7 +55,7 @@ class NudgeAction extends Action
      *
      * @return nothing
      */
-    function handle($args)
+    function handle(array $args=array())
     {
         parent::handle($args);
 
@@ -125,7 +125,7 @@ class NudgeAction extends Action
         }
     }
 
-    function isReadOnly($args)
+    function isReadOnly(array $args=array())
     {
         return true;
     }