]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/atompubshowmembership.php
Improved type-hint for following methods:
[quix0rs-gnu-social.git] / actions / atompubshowmembership.php
index ad6aa6c1d05db3bf00bf0ec3bff912a01a27235a..e8a7816cf1c672aeb03d1c4d140ae7dfc3f3a27c 100644 (file)
@@ -163,7 +163,7 @@ class AtompubshowmembershipAction 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') {