]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Event/actions/newrsvp.php
Improved type-hint for following methods:
[quix0rs-gnu-social.git] / plugins / Event / actions / newrsvp.php
index 7a87d359e07c77a9b81a094ec30fd7d9b80b2973..2ba90070a50accc5aad6515fddaea884a1d315d5 100644 (file)
@@ -197,7 +197,7 @@ class NewrsvpAction 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') {