X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fprofilelist.php;h=9f735b1b88d8d02e61a8be4f91cb34fb01f2f0d4;hb=367fc054dcf9cbcfb87fec987219d0810a1c8b9c;hp=177560cdf568844ef7f2a070d463c343684a4f7b;hpb=51ecd6be15098c1e8ac8701f846c22f9f630d5c0;p=quix0rs-gnu-social.git diff --git a/lib/profilelist.php b/lib/profilelist.php index 177560cdf5..9f735b1b88 100644 --- a/lib/profilelist.php +++ b/lib/profilelist.php @@ -46,7 +46,7 @@ class ProfileList extends Widget /** Action object using us. */ var $action = null; - function __construct($profile, $action=null) + function __construct($profile, HTMLOutputter $action=null) { parent::__construct($action); @@ -93,9 +93,9 @@ class ProfileList extends Widget return $cnt; } - function newListItem($profile) + function newListItem(Profile $target) { - return new ProfileListItem($profile, $this->action); + return new ProfileListItem($target, $this->action); } function maxProfiles()