]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Poll/actions/respondpoll.php
Improved type-hint for following methods:
[quix0rs-gnu-social.git] / plugins / Poll / actions / respondpoll.php
index 13d3abf683702a8742d24ead105ef3553b4552ad..c2b577209e29b54acc2112f809a7e1bfb508367a 100644 (file)
@@ -186,7 +186,7 @@ class RespondPollAction 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') {