]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/QnA/actions/qnavote.php
Improved type-hint for following methods:
[quix0rs-gnu-social.git] / plugins / QnA / actions / qnavote.php
index 6cda1ff827fef15e8d008a04411f793424a029e9..ee0cd45860d7b4a75bea9617d696d5b0af3fd04f 100644 (file)
@@ -184,7 +184,7 @@ class Qnavote 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') {