X-Git-Url: https://git.mxchange.org/?p=quix0rs-gnu-social.git;a=blobdiff_plain;f=lib%2Fprofilelist.php;h=9f735b1b88d8d02e61a8be4f91cb34fb01f2f0d4;hp=177560cdf568844ef7f2a070d463c343684a4f7b;hb=c19964094baeb777a1bfd333a94bcb843f525274;hpb=b374e5f08b0a5b0321ddd0ac77baf4675274aba2 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()