X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fapiuserprofileimage.php;h=c9c8eab9af5fce75c3bcf2876a53dc9c752063b5;hb=d6b28c64830f632bb2f4b6f3c9369b9e56ad217a;hp=cb5c959d085adf71025ff4a0a9d3f1e87f32d325;hpb=29d0871e5a5b2561387bcad40ef4644ee1c2be08;p=quix0rs-gnu-social.git diff --git a/actions/apiuserprofileimage.php b/actions/apiuserprofileimage.php index cb5c959d08..c9c8eab9af 100644 --- a/actions/apiuserprofileimage.php +++ b/actions/apiuserprofileimage.php @@ -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; }