]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Bookmark/actions/newbookmark.php
Improved type-hint for following methods:
[quix0rs-gnu-social.git] / plugins / Bookmark / actions / newbookmark.php
index bc043f41ed51e01eafdde5878efde1fb4e07f4ae..c3987a28b8dfa730c07d60e642680a222c330e94 100644 (file)
@@ -229,7 +229,7 @@ class NewbookmarkAction 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') {