]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/atompubmembershipfeed.php
Improved type-hint for following methods:
[quix0rs-gnu-social.git] / actions / atompubmembershipfeed.php
index 2ebd45bc8075c9ff889ced95df876c7baa1ab986..060e2526a30371af604188451e4173ef9f2a3b85 100644 (file)
@@ -296,7 +296,7 @@ class AtompubmembershipfeedAction extends ApiAuthAction
      *
      * @return boolean is read only action?
      */
-    function isReadOnly($args)
+    function isReadOnly(array $args=array())
     {
         if ($_SERVER['REQUEST_METHOD'] == 'GET' ||
             $_SERVER['REQUEST_METHOD'] == 'HEAD') {