From: Mikael Nordfeldth Date: Mon, 4 Jan 2016 23:09:47 +0000 (+0100) Subject: ProfileMiniList->newListItem changed to match ProfileList->newListItem X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=df8c14d66a7b46a07beabc34a2c50493036db1c8;p=quix0rs-gnu-social.git ProfileMiniList->newListItem changed to match ProfileList->newListItem --- diff --git a/lib/profileminilist.php b/lib/profileminilist.php index d2997d12de..807bed50a2 100644 --- a/lib/profileminilist.php +++ b/lib/profileminilist.php @@ -48,9 +48,9 @@ class ProfileMiniList extends ProfileList $this->out->elementStart('ul', 'entities users xoxo'); } - function newListItem($profile) + function newListItem(Profile $target) { - return new ProfileMiniListItem($profile, $this->action); + return new ProfileMiniListItem($target, $this->action); } function maxProfiles()