]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apiuserprofileimage.php
Merge remote-tracking branch 'upstream/master' into social-master
[quix0rs-gnu-social.git] / actions / apiuserprofileimage.php
index cb5c959d085adf71025ff4a0a9d3f1e87f32d325..c9c8eab9af5fce75c3bcf2876a53dc9c752063b5 100644 (file)
@@ -51,7 +51,7 @@ class ApiUserProfileImageAction extends ApiPrivateAuthAction
      * @return boolean success flag
      *
      */
-    protected function prepare($args)
+    protected function prepare(array $args=array())
     {
         parent::prepare($args);
         $user = User::getKV('nickname', $this->arg('screen_name'));
@@ -110,7 +110,7 @@ class ApiUserProfileImageAction extends ApiPrivateAuthAction
      *
      * @return boolean is read only action?
      */
-    function isReadOnly($args)
+    function isReadOnly(array $args=array())
     {
         return true;
     }