]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apiattachment.php
.inc.php please ...
[quix0rs-gnu-social.git] / actions / apiattachment.php
index 0a0b3429907755fc96582cef267e23820fcb7b7a..b92709f5d6419b9407f407c42fd2a91bb68f1324 100644 (file)
@@ -46,7 +46,7 @@ class ApiAttachmentAction extends ApiAuthAction
      *
      * @return boolean success flag
      */
-    protected function prepare($args)
+    protected function prepare(array $args=array())
     {
         parent::prepare($args);
 
@@ -99,7 +99,7 @@ class ApiAttachmentAction extends ApiAuthAction
      * @return boolean is read only action?
      */
 
-    function isReadOnly($args)
+    function isReadOnly(array $args=array())
     {
         return true;
     }