X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FUserFlag%2Factions%2Fadminprofileflag.php;h=8a7d478631200deb6cba077df4a47698045721be;hb=d6b28c64830f632bb2f4b6f3c9369b9e56ad217a;hp=9b5b4088bf0f2555c1bf619750fda7a85ea296e6;hpb=c00491cd7a29a9ef16d6e6bfa54505d4c9a522fe;p=quix0rs-gnu-social.git diff --git a/plugins/UserFlag/actions/adminprofileflag.php b/plugins/UserFlag/actions/adminprofileflag.php index 9b5b4088bf..8a7d478631 100644 --- a/plugins/UserFlag/actions/adminprofileflag.php +++ b/plugins/UserFlag/actions/adminprofileflag.php @@ -52,7 +52,7 @@ class AdminprofileflagAction extends Action * * @return boolean success flag */ - function prepare($args) + function prepare(array $args=array()) { parent::prepare($args); @@ -107,7 +107,7 @@ class AdminprofileflagAction extends Action * * @return void */ - function handle($args) + function handle(array $args=array()) { parent::handle($args); @@ -200,7 +200,7 @@ class FlaggedProfileList extends ProfileList * * @return ProfileListItem newly-created item */ - function newListItem($profile) + function newListItem(Profile $profile) { return new FlaggedProfileListItem($this->profile, $this->action); }