]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Event/actions/newevent.php
Improved type-hint for following methods:
[quix0rs-gnu-social.git] / plugins / Event / actions / newevent.php
index 9483db7b4e55ab5360410560bcbfef389ff407b6..017d8d6c3e964939bb98efefb55672adf1ad8168 100644 (file)
@@ -300,7 +300,7 @@ class NeweventAction 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') {