]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Event/actions/cancelrsvp.php
Improved type-hint for following methods:
[quix0rs-gnu-social.git] / plugins / Event / actions / cancelrsvp.php
index 1a30e86a1e8e87eb0d51ef380f2895d5b094ff2c..bb13deaa686af622aa6440f302ec4f76e31722db 100644 (file)
@@ -190,7 +190,7 @@ class CancelrsvpAction extends Action
      *
      * @return boolean is read only action?
      */
-    function isReadOnly($args)
+    function isReadOnly(array $args=array())
     {
         if ($_SERVER['REQUEST_METHOD'] == 'GET' ||
             $_SERVER['REQUEST_METHOD'] == 'HEAD') {